array-initial
Get all but the last element or last n elements of an array.
npm
Install withnpm i array-initial --save
Usage
var initial = ; ;//=> ['a', 'b', 'c', 'd', 'e'] ;//=> ['a', 'b', 'c', 'd', 'e'] ;//=> ['a', 'b', 'c', 'd']
Author
Jon Schlinkert
License
Copyright (c) 2014 Jon Schlinkert
Released under the MIT license
This file was generated by verb on December 12, 2014. To update, run npm i -g verb && verb
.