Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jsnelgro
on Jan 20, 2023
|
parent
|
context
|
favorite
| on:
Pipe Operator (|>) For JavaScript
Kotlin uses "it" as the name of the implicit arg in lambdas. Makes things very readable imo:
``` listOf(1, 3, 5).map { it * 100 } ```
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
``` listOf(1, 3, 5).map { it * 100 } ```