source: node_modules/es-toolkit/dist/compat/function/rest.mjs@ ba17441

Last change on this file since ba17441 was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 281 bytes
RevLine 
[a762898]1import { rest as rest$1 } from '../../function/rest.mjs';
2
3function rest(func, start = func.length - 1) {
4 start = Number.parseInt(start, 10);
5 if (Number.isNaN(start) || start < 0) {
6 start = func.length - 1;
7 }
8 return rest$1(func, start);
9}
10
11export { rest };
Note: See TracBrowser for help on using the repository browser.