by purple-dragon · 9y ago · 0 comments
// Grab unique [...new Set([1,1,2,3,4])]
[...new Set([{x: 1}, {x: 1}])]
Javascript is great but sometimes I miss the predicability of the STL.