mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
* Optimize away `|> #` pipes * Inline topic token when it's used once and there are no side effects * Fix deferred topic evaluation * Update standalone tests
4 lines
75 B
JavaScript
4 lines
75 B
JavaScript
const result = 5 |> ^^ + 1 |> 2 + ^^ |> ^^ + ^^;
|
|
|
|
expect(result).toBe(12);
|