User Tools

Site Tools




Method that removes a value from an array. This method was created by John Resig and is licensed under an MIT license. This method is the equivalent of the function array_remove()


var array = new Array("a", "b", "c");
array.remove(0);//Remove key 0 from array

For more examples, see:


Parameter Data type Required Description
from number The array index to start the removal
to number the array index to end the removel

Return values

Value Meaning
Array The array with elements deleted
array/remove.txt · Last modified: 2017/05/20 12:51 (external edit)