array-removeat

1.0.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1

Package Sidebar

Install

npm i array-removeat

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • emiljohansson