Computer Science, asked by navajitraj986, 5 months ago

Write a java script to delete an element from a given location of an array

Answers

Answered by HoneySparky
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