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/leixiaotie Oct 12 '19
Huh, TIL. Usually using
lodash.uniqByfor that. Hoping if the future ECMA addedarr.uniqorarr.distinctnatively.