diff --git a/lib/utils.js b/lib/utils.js index 5a7718f..e362976 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -121,8 +121,7 @@ var Utils = module.exports = { var fn = function(method) { return base[method] = function() { - var args = arguments.length >= 1 ? [].slice.call(arguments, 0) : []; - return target[method].apply(target, args); + return target[method].apply(target, arguments); }; };