diff options
Diffstat (limited to 'school/node_modules/lodash/_baseRest.js')
-rw-r--r-- | school/node_modules/lodash/_baseRest.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/school/node_modules/lodash/_baseRest.js b/school/node_modules/lodash/_baseRest.js deleted file mode 100644 index d0dc4bd..0000000 --- a/school/node_modules/lodash/_baseRest.js +++ /dev/null @@ -1,17 +0,0 @@ -var identity = require('./identity'), - overRest = require('./_overRest'), - setToString = require('./_setToString'); - -/** - * The base implementation of `_.rest` which doesn't validate or coerce arguments. - * - * @private - * @param {Function} func The function to apply a rest parameter to. - * @param {number} [start=func.length-1] The start position of the rest parameter. - * @returns {Function} Returns the new function. - */ -function baseRest(func, start) { - return setToString(overRest(func, start, identity), func + ''); -} - -module.exports = baseRest; |