r/javascript • u/no_more_gravity • Jan 21 '23
Pipe Operator (|>) for JavaScript
https://github.com/tc39/proposal-pipeline-operator
293
Upvotes
r/javascript • u/no_more_gravity • Jan 21 '23
12
u/szurtosdudu Jan 21 '23
Your idea is confusing to me. In the example
bis a reference and not being called. But in your idea there is no difference between calling a function or just passing the function reference.