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

assert await precedence #893

Open
leobalter opened this issue Mar 7, 2017 · 0 comments
Open

assert await precedence #893

leobalter opened this issue Mar 7, 2017 · 0 comments

Comments

@leobalter
Copy link
Member

Capturing a convo from irc #tc39:

[17:55] <+ljharb> what's the correct precedence of await here? babel/minify#460 (comment)
[17:55] <+ljharb> is await a || b the same as (await a) || b, or await (a || b)?
[18:16] <+bradleymeck> ljharb: https://tc39.github.io/ecma262/#sec-unary-operators same level as delete / typeof
[19:15] <+ljharb> bradleymeck: ok, so that means the former?[19:20] <+bterlson> it's the former
[19:20] <+bterlson> yield precedence is the latter

I would like to investigate if we cover this precedence. If not, we should add a test for this.

cc @ljharb

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

No branches or pull requests

1 participant