Skip to content

Require options to be an object #480

Open
@sffc

Description

@sffc

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: specComponent: spec editorial issueseditorialInvolves an editorial fixs: help wantedStatus: help wanted; needs proposal champions: in progressStatus: the issue has an active proposal

    Type

    No type

    Projects

    Status

    Previously Discussed

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions