Hacker News new | ask | show | jobs
by bryanlarsen 4053 days ago
That's not generally necessary in ES6 when you use "=>" to define functions. Javascript is getting better...
2 comments

What happens when you nest anonymous functions? Would you have to use the arrow operator at every level?
It's really a minor criticism and I know ES6 resolves the issue :-)
Through bind of course, for the silly person who downvote me. Helps to have strict mode on. Happy to have educated you!