Content pfp
Content
@
0 reply
0 recast
0 reaction

Complexlity pfp
Complexlity
@complexlity
Only learning `JSON.stringify` takes a function as second property to transform values before stringifying the object. it's always `.stringify(obj) or `.stringify(obj, null, 2)` (for pretty formatting). Now I see it can be `.stringify(obj, (k,v) => v, 2)`. Found out trying to stringify bigint.People should read docs :)
3 replies
1 recast
13 reactions

Darryl Yeo 🛠️ pfp
Darryl Yeo 🛠️
@darrylyeo
Always blows my mind what features are hidden in plain sight on MDN, new and old. They don’t teach this stuff in w3schools! 😄 https://developer.mozilla.org/en-US/
0 reply
0 recast
2 reactions