r/javascript • u/pawelgrzybek • Oct 12 '19
TIL — The power of JSON.stringify replacer parameter
https://pawelgrzybek.com/til-the-power-of-json-stringify-replacer-parameter/
378
Upvotes
r/javascript • u/pawelgrzybek • Oct 12 '19
2
u/Zephirdd Oct 12 '19
how do you think that
uniqByor your examples ofuniqanddistinctwould be implemented?simply throwing all the items in a Set is probably the best way to implement them nowadays lol