Array.prototype.removeAt(index)

Description:

Remove the specified item from array by item index.

Parameters:

  • index
    • Type: Number

Returned Value:

  • Boolean value indicating whether the operation is successful or not.

Sample:

var array = ["Apple", "Banana", "Lemon"];
array.removeAt(1);
//Result: array = ["Apple", "Lemon"];


Last edited Aug 23, 2012 at 3:51 PM by rynnwang, version 2

Comments

No comments yet.