npm.io
2.0.0 • Published 10 years ago

@ndhoule/rest

Licence
MIT
Version
2.0.0
Deps
0
Vulns
0
Weekly
0

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.

Keywords