2.0.0 • Published 9 years ago

@ndhoule/drop v2.0.0

Weekly downloads
33,259
License
MIT
Repository
github
Last release
9 years ago

drop CI

Produce a new array composed of all but the first n elements of an input collection.

Installation

$ component install ndhoule/drop
$ npm install @ndhoule/drop

API

drop(count : number, collection : Array) => Array

Produce a new array composed of all but the first n elements of an input collection.

drop([1, 2, 3]); // => [2, 3]

License

Released under the MIT license.