File manager - Edit - /usr/local/lib/node_modules/bower/lib/node_modules/bower-config/node_modules/mout/collection/make_.js
Back
var slice = require('../array/slice'); /** * internal method used to create other collection modules. */ function makeCollectionMethod(arrMethod, objMethod, defaultReturn) { return function(){ var args = slice(arguments); if (args[0] == null) { return defaultReturn; } // array-like is treated as array return (typeof args[0].length === 'number')? arrMethod.apply(null, args) : objMethod.apply(null, args); }; } module.exports = makeCollectionMethod;
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings