2.0.3 • Published 7 years ago

@amphibian/remove-from-array v2.0.3

Weekly downloads
2
License
ISC
Repository
gitlab
Last release
7 years ago

remove-from-array

build status

remove an index from an array

npm install @amphibian/remove-from-array
var removeFromArray = require('@amphibian/remove-from-array');
var mammals = ['cat', 'bird', 'dog', 'horse', 'fish'];

removeFromArray('fish', mammals);
removeFromArray('bird', mammals);

console.log(mammals); // > ['cat', 'dog', 'horse']
2.0.3

7 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.0.0

8 years ago