Files
test-repo/tests/function/function_expression.js
T
Kevin Gibbons 7443f4cbd6 Parenthesize function expressions in expression position (#941)
* refactor needsParens for function expressions

* snapshots

* comment
2017-03-07 18:53:42 -08:00

12 lines
245 B
JavaScript

(function() {}).length
typeof (function() {});
export default (function() {})();
(function() {})()``;
(function() {})``;
new (function() {});
(function() {});
a = function f() {} || b;
(function() {} && a);
a + function() {};
new function() {};