J. S. Choi 6276853eb9 Add support for the "Hack" pipeline proposal (#13191)
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-08-03 23:30:16 +02:00

10 lines
223 B
JavaScript

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