Thiago Arrais a4170b5e32 Transform for F# Pipeline (#9984)
* Transform for F#-style await

Inludes support for optimizing single-parameter arrow functions

* Wait until optimization before pushing placeholder into scope
2019-06-30 12:53:22 +02:00

9 lines
104 B
JavaScript

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