4 ms·
JS sets are plenty useful. Sometimes you want reference equality for objects (though letting programmers choose would be ideal). As far as the pace, I think th
by slibhb 3y ago
JS sets are plenty useful. Sometimes you want reference equality for objects (though letting programmers choose would be ideal).
As far as the pace, I think they do it about right. JS has hard requirements to be backwards compatible and has several canonical implementations, so adding new features should only be done after careful consideration. Letting users add features themselves and ensuring they have staying power and wide adoption is a good test.
- joe_guy 3y ago> JS sets are plenty useful. Sometimes you want reference equality for objects An example of where I've found this useful is object cycle detection.