Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
simlevesque
on Dec 11, 2017
|
parent
|
context
|
favorite
| on:
30 seconds of code: Curated list of useful JavaScr...
I think one is more efficient memory wise but I'm not sure which one.
mmanfrin
on Dec 11, 2017
[–]
The non-fat-arrow one, as it does not need to carry around the context of `this` with it.
hoosieree
on Dec 11, 2017
|
parent
[–]
Do you have a reference for this? I always thought arrows were
lighter
weight because their `this` is static rather than dynamic.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: