Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sph
on Jan 20, 2023
|
parent
|
context
|
favorite
| on:
Pipe Operator (|>) For JavaScript
There is nothing wrong with doing
data = this |> is |> a |> pipeline save_to_file(file, data)
Instead of trying to put the call to save_to_file into the pipeline by wrapping it in a closure.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: