2.0.0 • Published 9 years ago

@ndhoule/rest v2.0.0

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

rest CI

Produce a new array composed of all but the first element of the input collection.

Installation

$ component install ndhoule/rest
$ npm install @ndhoule/rest

API

rest(collection : Array) => Array

Produce a new array composed of all but the first element of the input collection.

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

License

Released under the MIT license.