4 ms·Object vs. set: getting unique values in JavaScript performance comparison2 points by boernard 9y ago