Y
Hacker News
new
|
ask
|
show
|
jobs
by
gpderetta
994 days ago
Does JS have a splat operator? So:
a = (b, 7) |> c(*%) |> d(%)
Too much operator soup I guess.
1 comments
notpushkin
994 days ago
Yeah, it is the ellipsis:
a = b |> c(...%, 7) |> d(%)
Spaciousness helps here a bit, but still way too many syntax, I agree.
link