9 lines
104 B
JavaScript

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