estools / escodegen

ECMAScript code generator
BSD 2-Clause "Simplified" License
2.65k stars 335 forks source link

Change the precedence of await so it's the same as other unary expressions #389

Closed papandreou closed 5 years ago

papandreou commented 5 years ago

Fixes #384

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

papandreou commented 5 years ago

@michaelficarra, would be nice with a new npm release :heart:

michaelficarra commented 5 years ago

@papandreou Published 1.11.1. Thanks for the contribution and sorry for the delay.