-
Notifications
You must be signed in to change notification settings - Fork 115
Require options to be an object #480
Copy link
Copy link
Open
Labels
c: specComponent: spec editorial issuesComponent: spec editorial issueseditorialInvolves an editorial fixInvolves an editorial fixs: help wantedStatus: help wanted; needs proposal championStatus: help wanted; needs proposal champions: in progressStatus: the issue has an active proposalStatus: the issue has an active proposal
Milestone
Metadata
Metadata
Assignees
Labels
c: specComponent: spec editorial issuesComponent: spec editorial issueseditorialInvolves an editorial fixInvolves an editorial fixs: help wantedStatus: help wanted; needs proposal championStatus: help wanted; needs proposal champions: in progressStatus: the issue has an active proposalStatus: the issue has an active proposal
Type
Projects
Status
Previously Discussed
Currently, we coerce the options argument to an object by calling
ToObject. @justingrant suggested in tc39/proposal-temporal#693 that we should be stricter and throw instead.I don't think we should change older Intl objects, due to backwards compatibility, but we can adopt this pattern in new objects.