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

9 lines
195 B
JavaScript

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