PHP WebShell
Текущая директория: /opt/BitGoJS/node_modules/underscore/amd
Просмотр файла: _wrapArrayAccessor.js
define(['./_setup', './restArguments'], function (_setup, restArguments) {
// Internal function to wrap `Array.prototype` methods that return a
// new value so they can be directly invoked as standalone functions.
// Works for `concat`, `slice` and `join`.
function wrapArrayAccessor(name) {
var method = _setup.ArrayProto[name];
return restArguments(function(array, args) {
return array == null ? array : method.apply(array, args);
});
}
return wrapArrayAccessor;
});
Выполнить команду
Для локальной разработки. Не используйте в интернете!