Skip to content

Commit

Permalink
remove extra arg
Browse files Browse the repository at this point in the history
  • Loading branch information
kurkle committed Dec 30, 2019
1 parent e68ffbc commit d70f683
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/scales/scale.time.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ function sorter(a, b) {

function arrayUnique(items) {
const set = new Set();
let i, ilen, item;
let i, ilen;

for (i = 0, ilen = items.length; i < ilen; ++i) {
item = items[i];
set.add(item, true);
set.add(items[i]);
}

if (set.size === ilen) {
return items;
}
Expand Down

0 comments on commit d70f683

Please sign in to comment.