forked from tc39/ecma402
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Editorial: Add NormalizeOptionsObject (tc39#480)
In order to later be able to move GetOption into ECMA-262 in sync with Temporal, we add NormalizeOptionsObject and NormalizeOptionsObjectLegacy as abstract operations. NormalizeOptionsObject and GetOption are intended to be moved into ECMA-262 at the same time, while NormalizeOptionsObjectLegacy is intended to stay in ECMA-402. NormalizeOptionsObjectLegacy describes the somewhat unexpected boxing behaviour when passing a primitive as the options parameter in a formatter constructor. This behaviour may need to be preserved for web-compatibility reasons, but new Intl objects going forward should use the NormalizeOptionsObject behaviour.
- Loading branch information
Showing
6 changed files
with
37 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters