re: Sets in JavaScript VIEW POST

TOP OF THREAD FULL DISCUSSION
re: AFAIK, Set.has implementation in V8 is really fast - it has O(1) time complexity.
 

It's entirely possible I learned wrong! I took the statement at face value, knowing I couldn't verify it myself. If that's the case, then I'm really happy I use Set all the time now.

code of conduct - report abuse