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

Remove non-existend "AsyncArrowFunction" constructor #4044

Open
nicolo-ribaudo opened this issue Apr 8, 2024 · 0 comments · May be fixed by #4045
Open

Remove non-existend "AsyncArrowFunction" constructor #4044

nicolo-ribaudo opened this issue Apr 8, 2024 · 0 comments · May be fixed by #4045

Comments

@nicolo-ribaudo
Copy link
Member

Same as 04517c7, AsyncArrowFunction doesn't exist.

linusg added a commit to linusg/test262 that referenced this issue Apr 8, 2024
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.
@nicolo-ribaudo nicolo-ribaudo linked a pull request Apr 8, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants