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