Files
2022-02-02 14:08:07 +01:00

10 lines
204 B
JavaScript

const result = 5
|> Math.pow(@@, 2)
|> [1, 2, 3].map(n => n + @@
|> @@ * 2
|> `${@@} apples`
|> @@.toUpperCase())
|> @@.join();
expect(result).toEqual('52 APPLES,54 APPLES,56 APPLES');