Skip to content

Conversation

ota-meshi
Copy link
Contributor

ES2022 Top-level await have arrived at Stage 4.
This PR changes to enable allowAwaitOutsideFunction by default when ecmaVersion >= 2022.

References

Proposal: https://github.com/tc39/proposal-top-level-await
Stage update: tc39/proposals@99fa42a
Ecma262 update: tc39/ecma262#2408

@marijnh marijnh merged commit 7405bd1 into acornjs:master May 31, 2021
@marijnh
Copy link
Member

marijnh commented May 31, 2021

Thank you for implementing that.

@ota-meshi ota-meshi deleted the top-level-await branch May 31, 2021 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants