Re:Pipe Operator (|>) For JavaScript
by pharmakom on Friday January 20, 2023 @06:00PM
(#34461344)
How so? JS already has operators, but placeholders is a totally new concept
[ Parent
| on HN ]
Is there another JavaScript feature that looks like a list of function names but which causes actions to be performed? Or operators that operate on both functions and values? The placeholders are very similar to variables, so do what they look like they do, and it's only the implicit definition that is new. The explicit placeholders feel much more like JavaScript to me than the implicit function calling of the F# proposal.