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

Complete nodejs data for Symbol #6331

Merged
merged 1 commit into from
Jun 25, 2020
Merged

Complete nodejs data for Symbol #6331

merged 1 commit into from
Jun 25, 2020

Conversation

gilmoreorless
Copy link
Contributor

Part of #6249. This fills in the true values for Node in Symbol.

Data source: https://node.green/#ES2015-built-ins-Symbol and local testing

I also changed the value on Symbol.toStringTag.dom-objects from true to false. Node.js doesn't support any DOM prototype objects, so it can't support Symbol.toStringTag on them. If that change is erroneous, I'm happy to revert it.

@ghost ghost added the data:js 📟 Compat data for JS/ECMAScript features. https://developer.mozilla.org/docs/Web/JavaScript label Jun 25, 2020
@Elchi3
Copy link
Member

Elchi3 commented Jun 25, 2020

I also changed the value on Symbol.toStringTag.dom-objects from true to false. Node.js doesn't support any DOM prototype objects, so it can't support Symbol.toStringTag on them. If that change is erroneous, I'm happy to revert it.

I think this makes sense, although I don't know how this behaves with other nodes builtin objects.

@Elchi3 Elchi3 merged commit b45285e into mdn:master Jun 25, 2020
@Elchi3 Elchi3 mentioned this pull request Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:js 📟 Compat data for JS/ECMAScript features. https://developer.mozilla.org/docs/Web/JavaScript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants