Skip to content

Comment on A re-introduction to JavaScriptparent

Comments

That's not generally necessary in ES6 when you use "=>" to define functions. Javascript is getting better...

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!

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.