9 lines
112 B
JavaScript

var a = 1,
b = 2,
c = 3;
var result = a
|> ((a, b) => b)
|> ((a, b) => c);
expect(result).toBe(c);