| var _setup = require('./_setup.js'); | |
| // Returns everything but the last entry of the array. Especially useful on | |
| // the arguments object. Passing **n** will return all the values in | |
| // the array, excluding the last N. | |
| function initial(array, n, guard) { | |
| return _setup.slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n))); | |
| } | |
| module.exports = initial; | |
Xet Storage Details
- Size:
- 380 Bytes
- Xet hash:
- f3dfe4dca891cd2743295cb7c5f2f2c96309ad2c1870b85ea19d49f86383ece7
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.