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

Implement Symbol.prototype[ @@toStringTag ] #1231

Closed
HalidOdat opened this issue May 7, 2021 · 1 comment · Fixed by #1292
Closed

Implement Symbol.prototype[ @@toStringTag ] #1231

HalidOdat opened this issue May 7, 2021 · 1 comment · Fixed by #1292
Assignees
Labels
builtins PRs and Issues related to builtins/intrinsics E-Easy Easy enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@HalidOdat
Copy link
Member

ECMASCript feature

Implement Symbol.prototype[ @@toStringTag ], as a reference on how to implement you can check #1225 (Math[ @@toStringTag ]).

Example code
This code should now work and give the expected result:

let result = (Symbol())[Symbol.toStringTag];

console.log(result);

The expected output is "Symbol".

@HalidOdat HalidOdat added enhancement New feature or request good first issue Good for newcomers E-Easy Easy builtins PRs and Issues related to builtins/intrinsics labels May 7, 2021
@moadmmh
Copy link
Contributor

moadmmh commented May 28, 2021

I'll take this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
builtins PRs and Issues related to builtins/intrinsics E-Easy Easy enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants