Files
2021-08-03 23:30:16 +02:00

8 lines
186 B
JavaScript

const result = -2.2 // -2.2
|> Math.floor // -3
|> (() => Math.pow(#, 5)) // () => -243
|> #() // -243
|> Math.sign; // -1
expect(result).toBe(-1);