Nicolò Ribaudo ce6cc4eb55
Unify parens printing for postfix-like expressions (#11382)
* Unify parens printing for postfix exprs: (), [...], !

* Also move template tags handling

* Add tagged template test

* isPostfixExpression -> hasPostfixPart
2020-04-07 21:36:35 +02:00

6 lines
88 B
JavaScript

async function test() {
(function (e) {
throw e;
})(new Error(await 'test'));
}