JavaScript

What is the Pipeline Operator (|>)?

Medium
2
Added
Functional-style value transformation (Stage 2). Passes value through function chain.

Solution Code

JavaScript
const result = x |> double |> increment |> toString;
Explanation
Alternative to nested function calls. Similar to F#/Elixir pipes.

Guided Hints

Partial application
TC39 proposal stages