Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gecko
on Oct 5, 2020
|
parent
|
context
|
favorite
| on:
Python 3.9
Huh? What's this do in JavaScript? (No sarcasm; I'm mostly in this ecosystem, but I have no idea what this is in reference to.)
irrational
on Oct 5, 2020
[–]
They are called arrow functions (-> looks a bit like an arrow).
ZephyrBlu
on Oct 5, 2020
|
parent
|
next
[–]
It's confusing to write it like -> because the actual operator is =>, which is close but not the same.
arthurcolle
on Oct 5, 2020
|
parent
|
prev
[–]
isn't it =>
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: