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

Async generator function *expression* page instead demonstrates an async generator function *statement* #38174

Closed
Hexstream opened this issue Dec 2, 2024 · 3 comments · Fixed by #38175 or #38217
Labels
Content:JS JavaScript docs

Comments

@Hexstream
Copy link

Hexstream commented Dec 2, 2024

MDN URL

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/async_function*

What specific section or headline is this issue about?

Try it

What information was incorrect, unhelpful, or incomplete?

This example demonstrates an async generator function statement.

What did you expect to see?

An example demonstrating an async generator function expression.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@Hexstream Hexstream added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Dec 2, 2024
@github-actions github-actions bot added the Content:JS JavaScript docs label Dec 2, 2024
@Hexstream Hexstream changed the title Async generator function _expression_ page instead demonstrates an async generator function _statement_ Async generator function *expression* page instead demonstrates an async generator function *statement* Dec 2, 2024
@Josh-Cena Josh-Cena transferred this issue from mdn/content Dec 2, 2024
@pragyamishra56
Copy link

/assign

@Josh-Cena Josh-Cena transferred this issue from mdn/interactive-examples Feb 15, 2025
@Josh-Cena Josh-Cena removed the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Feb 15, 2025
@Hexstream
Copy link
Author

#38175 purports to fix this, but the new example does not work when one clicks Run.

Most likely, generate should be joinAll.

@Josh-Cena
Copy link
Member

#38217

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:JS JavaScript docs
Projects
None yet
3 participants