Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Frankly the fat arrow syntax adds so little value that it's not worth adding new syntax to JavaScript, just my humble opinion.

The fat arrow seems to be primarily about easier scoping when using this - so it's trying to patch the single most broken feature a language ever had.

The existing function syntax is fine, rather just avoid using "this" at all in your code.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: