James DiGioia 7142a79eb9 Bring pipelineOperator flag in line with minimal
The minimal proposal requires parentheses around arrow functions
and bans await from the pipeline.
2018-04-27 23:15:21 +02:00

9 lines
104 B
JavaScript

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