remove_index
v0.0.2
Published
Remove element of array at desired index
Downloads
8
Readme
##Remove_Index
Removes the element at the specified index. I felt splice didn't read cleanly so I decided to make it cleaner looking
Installation
npm install remove_index
Usage
var remove = require('remove_index');
var a = ['A','B','C'];
a = remove(a, 0);
//=>a = ['B','C']
API
remove_index(arr, ind)
arr
Type: Array
ind
Type: Integer Condition: ind must be greater than or equal to 0
Removes the element at the specified index.
##License
MIT © Alex Brelsford