babel-generator: await (a||b) loses parentheses
See original GitHub issueconst a = async () => await (a||b)
becomes
const a=async()=>await a||b;
should be
const a=async()=>await(a||b);
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (8 by maintainers)
Top Results From Across the Web
babel-generator: await (a||b) loses parentheses · Issue #5428
Original issue submitted by @marcello3d in babel/minify#460 const a = async () => await (a||b) becomes const a=async()=>await a||b; ...
Read more >babel/plugin-proposal-async-generator-functions
Example Usage async function* genAnswers() { var stream = [Promise.resolve(4), Promise.resolve(9), Promise.resolve(12)]; var total = 0; for await (let val ...
Read more >Babel v6 Changelog - Fossies
babel -generator , babel-plugin-transform-es2015-arrow-functions ... babel-generator. #5453 Keep parentheses for logical expression when in await expression.
Read more >CoffeeScript
Major new features in CoffeeScript 2 include async functions and JSX. ... This is done via transpilers like Babel, Bublé or Traceur Compiler....
Read more >Open Source Used In Cisco Meeting Management 2.9
1.44 babel-plugin-transform-es2015-duplicate-keys 6.24.1 ... LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @marcello3d! I’ve moved your issue to the correct repository. Please make sure to keep an eye on the new issue for the latest information.
K, looks like it’s confirmed as a bug 😃