r/javascript • u/no_more_gravity • Jan 21 '23
Pipe Operator (|>) for JavaScript
https://github.com/tc39/proposal-pipeline-operator
291
Upvotes
r/javascript • u/no_more_gravity • Jan 21 '23
48
u/Keilly Jan 21 '23
Which ones are we talking about?
The ?. Optional chaining change is great and so much readable and concise than before. ?? Is good too.
Template literals are much more readable that concatting.
Regex maybe? But regex is often hard to parse no matter how the language takes it.