Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sproutini
67 days ago
|
parent
|
context
|
favorite
| on:
Working pipe operator today in pure JavaScript
Overengineered in my view, what is wrong with `x | f` is `f(x)`? Then `x | f | g` can be read as `g(f(x))` and you're done. I don't see any reason to make it more complicated than that.
xigoi
67 days ago
[–]
You can’t make it work like that in current JavaScript.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: