Open Thorin-Oakenpants opened 4 years 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.
undefined
in an array gets converted tonull
byJSON.stringify
well, fuck
rather than pollute other issues: i'll just use this generic one for help with making code cleaner, or making things work