Skip to content

Conversation

@kaofushwai
Copy link

No description provided.

@kaofushwai kaofushwai closed this Oct 30, 2015
@kaofushwai kaofushwai deleted the homework branch October 30, 2015 09:52
@kaofushwai kaofushwai restored the homework branch October 30, 2015 09:52
@kaofushwai kaofushwai reopened this Oct 30, 2015
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of binding an anonymous function, you should bind the this as the listener. And Arrow function is better than the binding API (it's more concise), although I didn't require you to use that. See:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions#Lexical_this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants