Skip to content
Removes an item from a specific position.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.jshintrc
.travis.yml
index.js
license
package.json
readme.md
test.js

readme.md

array-removeAt Build Status

Removes an item from a specific position.

Install

$ npm install --save array-removeat

Usage

var removeAt = require('array-removeat');
removeAt([1, 2, 3], 1);
// => [1, 3]

API

removeAt(array, index)

Returns the modified array.

array

Type: array

The array to modify.

index

Type: index

Position where to modify the array.

License

MIT © Emil Johansson

You can’t perform that action at this time.