You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice that passing a sparse array through JSON.stringify results in information loss. These three different arrays can only be represented by one JSON object:
Adding https://github.com/websanova/js-url into the mix isn't the source uncertainty. Representing a sparse array in JSON is the source of uncertainty.
Not sure if people consider this an issues, however, arrays are apparently padded with nulls for missing values,
Maybe the better option would be to return objects for sparse arrays, like so,
The text was updated successfully, but these errors were encountered: