Write a java script to delete an element from a given location of an array
Answers
Answered by
1
var value = array. splice(index, 1)[0]; If you want to remove at either end of the array, you can use array. pop() for the last one or array.
Similar questions