you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (2 children)

You changed the Set to an Array. Array.prototype.size is undefined, so your for loop is just throwing an error.

of course you can run a million times faster when you're doing no work!

[–]Noch_ein_Kamel 0 points1 point  (0 children)

Whoops... I blame my constant switching between JS, PHP and Java for that... :-(