Lodash.js – initial() function

Lodash.js – initial() function

BY 21 Nov 2015 Web Code Snippet
A simple Lodash.js example of the initial() function, which gets all the elements of an array, except the last one. And it returns a new array.
Written by