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

It is a feature of the new syntax to bind the current context (what "this" points to) to the created function.

http://tc39wiki.calculist.org/es6/arrow-functions/



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

Search: