-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Name of function Intl.getCanonicalLocales
is incorrectly CanonicalizeLocaleList
-- should be hidden.
#3204
Comments
Intl.getCanonicalLocales
is CanonicalizeLocaleList
.Intl.getCanonicalLocales
is incorrectly CanonicalizeLocaleList
-- should be hidden.
See https://tc39.github.io/Function-prototype-toString-revision/#sec-function.prototype.tostring for a revision to the relevant spec text. The gist is: in both old and new spec text, the function name is optional. Old: name can be anything. New: if included, the name must match the actual name of the function. The following two options (and variations of whitespace therein) are allowed:
For consistency, will make /cc @bterlson |
|
Related bug: |
… name, toString, cannot call with new
… name, toString, cannot call with new
Should do something similar here to hide name of the implementing function as we did for
supportedLocalesOf
.The text was updated successfully, but these errors were encountered: