Skip to content

Commit

Permalink
refactor: use strict equality check in mappings.js
Browse files Browse the repository at this point in the history
  • Loading branch information
StephaneBour committed Jan 15, 2024
1 parent 258b510 commit 0239b85
Show file tree
Hide file tree
Showing 2 changed files with 251 additions and 252 deletions.
2 changes: 1 addition & 1 deletion src/mappings.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
ret.sort();
let last;
ret = $.map(ret, function (v) {
const r = last == v ? null : v;
const r = last === v ? null : v;
last = v;
return r;
});
Expand Down
Loading

0 comments on commit 0239b85

Please sign in to comment.