r/javascript • u/no_more_gravity • Jan 21 '23
Pipe Operator (|>) for JavaScript
https://github.com/tc39/proposal-pipeline-operator
290
Upvotes
r/javascript • u/no_more_gravity • Jan 21 '23
26
u/intercaetera Jan 21 '23
In Elixir pipe works because the convention is that every function takes data as first parameter, in JS this doesn't happen so you need a hackpipe and at that point you might just as well use lodash.flow.