Skip to content
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

Guidance for proposals around new global constructors #93

Open
ptomato opened this issue Jun 23, 2021 · 3 comments
Open

Guidance for proposals around new global constructors #93

ptomato opened this issue Jun 23, 2021 · 3 comments

Comments

@ptomato
Copy link
Contributor

ptomato commented Jun 23, 2021

As per the May 2021 plenary (https://github.com/tc39/notes/blob/master/meetings/2021-05/may-26.md#discussion-of-globals-and-guidance-for-future-proposals), this repo should contain a document providing guidance to future proposals that want to introduce new global constructors / namespaces.

@ptomato
Copy link
Contributor Author

ptomato commented Jun 23, 2021

One thing not mentioned in the plenary which could go in the guidance, is whether namespace objects should have a [@@toStringTag] property. Seems more helpful than harmful? See tc39/proposal-temporal#1539 (comment)

@bakkot
Copy link
Contributor

bakkot commented Jun 23, 2021

whether namespace objects should have a [@@toStringTag] property

Yes, per the July 2020 meeting (see tc39/ecma262#2057).

@ljharb
Copy link
Member

ljharb commented Jun 23, 2021

The more specific question is, is that just top-level ones, or all? iow, Temporal surely must, per that consensus - but what about Temporal.now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants