.remove()

Method that removes a value from an array.

This method is created by John Resig, see http://ejohn.org/blog/javascript-array-remove/. This method is licensed under an MIT license.

The method .remove() is located in the file array.jsxinc.

Usage

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

For more examples, see http://ejohn.org/blog/javascript-array-remove/.

Parameters

Parameter Data type Required Description
from number The array key to start the removal.
to number   The array key to end the removal.

Return values

This method has no return values.