Re:Pipe Operator (|>) For JavaScript
by brundolf on Friday January 20, 2023 @12:08PM
(#34456183)
Yeah, JS programmers sometimes work around this and similar language gaps by making an inline function and immediately calling it (because that gives you a statement context inside of an expression context, which isn't normally possible). But IMO it's very rarely worth the hit you take to readability
[ Parent
| on HN ]
There are no comments on this comment yet.