— > set.add("123233")
TypeError: Parameter 1 must be of type String.
-snip-
> set.add("hello")
{ h: { '5': [ 'hello' ] } }
{ h: 1, e: 1, l: 2, o: 1 }
Message permanent page
— Lol, it actually errors here as well
— I COULD make the random stuff look like strings only
— Nah you're good, give me a moment
— The value is undefined when it throws
— The for loop goes too far, oops
— I omitted parameters.length
so it was just comparing the integer to the actual array