News for hackers. Stuff that matters.
Re:Pipe Operator (|>) For JavaScript by arp242 on Friday January 20, 2023 @11:25AM (#34455364)
Yes, you can do that in lambdas:

    > `${50}: ${[1,2,3].map(a => `${a+1}`)}`
    '50: 2,3,4'
Whether that's a good idea or clear code is another issue. But it's allowed.

There are no comments on this comment yet.