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
{{ message }}
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Even though all modern JS interpreters iterate object properties in the order that they are defined, this is not to be counted on from the spec, which says object property order is not guaranteed.
Maybe (probably) non-deterministic query string output is acceptable to most people since the query string spec doesn't care about order. If you are using this for something else though, maybe you care about the param order. I need to for my use case.
Alphabetizing before stringifying is an easy solution.
Seems like a candidate to go into core, but I understand if it's not seen as needed.
The text was updated successfully, but these errors were encountered:
Even though all modern JS interpreters iterate object properties in the order that they are defined, this is not to be counted on from the spec, which says object property order is not guaranteed.
Maybe (probably) non-deterministic query string output is acceptable to most people since the query string spec doesn't care about order. If you are using this for something else though, maybe you care about the param order. I need to for my use case.
Alphabetizing before stringifying is an easy solution.
Seems like a candidate to go into core, but I understand if it's not seen as needed.
The text was updated successfully, but these errors were encountered: