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

That can be done via ES6 as well, replacing -> with => and adding parentheses for those lambdas.


True! The only difference are implicit returns and significant whitespace I guess (and trailing same-line conditionals).

(think it'll even have the skinny arrow, the fat one binds `this` too)




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

Search: