Skip to content

Commit

Permalink
fixup! Update TypeClass.test to cope with recursion
Browse files Browse the repository at this point in the history
Co-authored-by: David Chambers <dc@davidchambers.me>
  • Loading branch information
Avaq and davidchambers authored Apr 19, 2021
1 parent 8996d1c commit bfe3dac
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,7 @@
(function() {
var $seen = [];
return function(x) {
if ($seen.includes (x)) {
return true;
}
if ($seen.includes (x)) return true;

$seen.push (x);
try {
Expand Down

0 comments on commit bfe3dac

Please sign in to comment.