delete n in array