-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
add Symbol.prototype.description getter #1346
Conversation
<p>`Symbol.prototype.description` is an accessor property whose set accessor function is *undefined*. Its get accessor function performs the following steps:</p> | ||
<emu-alg> | ||
1. Let _s_ be the *this* value. | ||
1. Let _sym_ be ? thisSymbolValue(_s_). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could also do
Let _sym_ be ? thisSymbolValue(*this* value).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The reigning convention seems to be to have it in a separate variable; i don’t have a strong opinion either way as long as we’re consistent.
@tc39/ecma262-editors I've removed the |
This integrates the stage 3 symbol description proposal in preparation for stage 4.
As of this writing, there are three compatible browser implementations.