Skip to content

Commit

Permalink
fix bad def
Browse files Browse the repository at this point in the history
  • Loading branch information
dcousens committed Dec 29, 2023
1 parent d2502d1 commit 8f62618
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 @@ -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];
}
Expand Down

0 comments on commit 8f62618

Please sign in to comment.