|
|
|
|
|
by capableweb
1205 days ago
|
|
Not the first time I see the proposed pipe operator syntax but oh my god, did they have to make it so messy? data
|> Object.keys
|> console.log
when you could have done |> data
Object.keys
console.log
Or even better, don't introduce new syntax and just make it a simple function instead |>(data,
Object.keys,
console.log))
Yes yes, I know "|>" is not a legal variable/function name right now, but also, why not?! |
|