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
As of ES2020 object keys iteration order follows definition order in nearly all (if not all) methods of iteration thorough object properties.
Actual goal: order of properties must be controlled when it is important. We need to handle situations when definition order is not controlled at source (e.g. API responses, new literals do not follow implicit convention).
The text was updated successfully, but these errors were encountered:
OleksiyRudenko
changed the title
TJSW: change reasoning behind controlled order of properties
TJSW: clarify reasoning behind controlled order of properties
Sep 28, 2022
As of ES2020 object keys iteration order follows definition order in nearly all (if not all) methods of iteration thorough object properties.
Actual goal: order of properties must be controlled when it is important. We need to handle situations when definition order is not controlled at source (e.g. API responses, new literals do not follow implicit convention).
The text was updated successfully, but these errors were encountered: