Nicolò Ribaudo 64f14b05fa
Collect comments around parentheses in expressions (#13803)
Co-authored-by: Brian Ng <bng412@gmail.com>
2021-10-05 20:15:24 +02:00

12 lines
224 B
JavaScript

const result = () => {
var _ref, _ref2, _ref3;
return _ref3 = -2.2 // -2.2
, (_ref2 = Math.floor(_ref3) // -3
, (_ref = () => Math.pow(_ref2, 5) // () => -243
, _ref()));
}; // -243
expect(result()).toBe(-243);