Node.js lodash drop()
remove value from array
//Creates a slice of array with n elements dropped from the beginning. var lodash = require('lodash'); lodash.drop([1, 2, 3]);/*from ww w. j a v a 2 s . c o m*/ // [2, 3] lodash.drop([1, 2, 3], 2); // [3] lodash.drop([1, 2, 3], 5); // [] lodash.drop([1, 2, 3], 0); // [1, 2, 3]