I'm very excited this finally shipped everywhere! Prior to this Set wasn't much more than a Map<any, true> since it had no actual Set operations.
> It's also typically faster to check if an element is in a set as opposed to in an Array<p>What optimisations allow that? As sets in javascript maintain insertion order, aren’t lookups O(n) ?
Perhaps it's asking too much but it would be great to see performance comparisons of these new set methods versus naive JS.<p>Not sure when I'll have a chance to use them but seems pretty comprehensive in covering all the basics.