source: frontend/node_modules/underscore/amd/rest.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 345 bytes
Line 
1define(['./_setup'], function (_setup) {
2
3 // Returns everything but the first entry of the `array`. Especially useful on
4 // the `arguments` object. Passing an **n** will return the rest N values in the
5 // `array`.
6 function rest(array, n, guard) {
7 return _setup.slice.call(array, n == null || guard ? 1 : n);
8 }
9
10 return rest;
11
12});
Note: See TracBrowser for help on using the repository browser.