Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

stage 3 review #18

@ljharb

Description

@ljharb

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?)

  • Confirming that Intl.getSupportedValuesOf is supposed to throw on a null options 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)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions