Closed alexoxte closed 5 years ago
-- function wrapNativeArrayMethod(methodName, wrapper) { | var nativeFn = Array.prototype[methodName]; | return function (arr, f, context, argsLen) { | var args = new Array(2); | assertArgument(argsLen > 0); | args[0] = wrapper(f, context); | args[1] = context;
.......
-- function wrapNativeArrayMethod(methodName, wrapper) { | var nativeFn = Array.prototype[methodName]; | return function (arr, f, context, argsLen) { | var args = new Array(2); | assertArgument(argsLen > 0); | args[0] = wrapper(f, context); | args[1] = context;
.......