From 8f626182ba332be0109aa399328a8584f8255245 Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Fri, 29 Dec 2023 21:45:42 +1100 Subject: [PATCH] fix bad def --- dedupe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dedupe.js b/dedupe.js index c28e241..7d20bdf 100644 --- a/dedupe.js +++ b/dedupe.js @@ -69,7 +69,7 @@ const classNames = (function () { // don't leak arguments // https://github.com/petkaantonov/bluebird/wiki/Optimization-killers#32-leaking-arguments const length = arguments.length; - const args = Array(len); + const args = Array(length); for (let i = 0; i < length; i++) { args[i] = arguments[i]; }