arkenfox / TZP

https://arkenfox.github.io/TZP
MIT License
8 stars 0 forks source link

code help #11

Open Thorin-Oakenpants opened 4 years ago

Thorin-Oakenpants commented 4 years ago

rather than pollute other issues: i'll just use this generic one for help with making code cleaner, or making things work

abrahamjuliot commented 1 year ago

I see at as non-issue if property gets dropped in JSON. undefined in an array gets converted to null by JSON.stringify, so we would need to check type beforehand. I've just been consuming the values and console logging the raw object, but I've overlooked some surprises by not having the types displayed visually.

Thorin-Oakenpants commented 1 year ago

undefined in an array gets converted to null by JSON.stringify

well, fuck