Skip to content

Commit

Permalink
fix bad const
Browse files Browse the repository at this point in the history
  • Loading branch information
dcousens authored Dec 29, 2023
1 parent 9e28cc7 commit d2502d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dedupe.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}

Expand Down

0 comments on commit d2502d1

Please sign in to comment.