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
Remove 'AsyncArrowFunction' test #4045
base: main
Are you sure you want to change the base?
Conversation
There is no such hidden constructor, it's the same as the hidden AsyncFunction constructor. In other words: ```js Object.getPrototypeOf(async () => {}).constructor === Object.getPrototypeOf(async function () {}).constructor ``` Closes tc39#4044.
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.
Please ensure there is a test that Object.getPrototypeOf(async () => {})
and Object.getPrototypeOf(async function () {})
match.
There is an implementation-contributed one at
|
This ties into something else I've been trying to figure out; do implementations actually execute those implementation-contributed tests? |
No, because the tests contain implementation internal functions and syntax. |
Fixes #4044