diff --git a/src/util/Util.js b/src/util/Util.js index f6fa1c50b..5c50d5e5f 100644 --- a/src/util/Util.js +++ b/src/util/Util.js @@ -437,7 +437,7 @@ class Util { const func = Collection.prototype[prop]; if (prop === 'constructor' || typeof func !== 'function') return; store.prototype[prop] = function(...args) { - return func.apply(this._filtered, ...args); + return func.apply(this._filtered, args); }; }); }