code: function variaderize(func) {
      return function (args) {
        var allArgs = isArrayLike(args) ? args : arguments;
        return func(allArgs);
      };
    }
docs: Converts a unary function that operates on an array into one that also works with a variable number of arguments