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 was archived by the owner on Jul 31, 2023. It is now read-only.
Confirming that Intl.getSupportedValuesOf is supposed to throw on a nulloptions argument? (seems fine, just making sure)
editorial: "The list must includes" should be "The list must include", throughout
editorial: "list of String" should be "list of Strings"
https://tc39.es/proposal-intl-enumeration/#sec-availablecalendars doesn't specify that the list must be unique, nor does it specify its ordering. I would hope that it's always unique, and always sorted deterministically, even if the contents of strings are defined by the host or implementation. It would also be helpful to use 262's terms for these, to indicate it's up to the host/implementation. Same feedback on all the "AvailableX" AOs.
normative: Why do we need a "SupportedValues.prototype" object? the only purpose of its internal slot and single prototype method (Symbol.iterator) seems to be so it's an iterable object - is there a reason not to just return an iterator directly, without creating a new kind of thing?
(Feel free to check the boxes as you address the comments)
unrelated to the review: i noticed https://tc39.es/ecma402/#sec-canonicalizelocalelist and https://tc39.es/ecma402/#sec-getoption don't auto-link from the proposal spec, altho https://tc39.es/ecma402/#table-numbering-system-digits and https://tc39.es/proposal-intl-enumeration/#table-sanctioned-simple-unit-identifiers do (cc @bakkot, maybe ecmarkup doesn't handle linking 402 AOs properly?)
Intl.getSupportedValuesOfis supposed to throw on anulloptionsargument? (seems fine, just making sure)Symbol.iterator) seems to be so it's an iterable object - is there a reason not to just return an iterator directly, without creating a new kind of thing?(Feel free to check the boxes as you address the comments)