New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elem[ bindMethod ]( startEvent, this ); #6

Closed
LeeeeeeM opened this Issue Mar 28, 2018 · 1 comment

Comments

2 participants
@LeeeeeeM

LeeeeeeM commented Mar 28, 2018

hello,desandro,i'm a new born.

elem[ bindMethod ]( startEvent, this );

i wonder what is 'this' means. i'm confusing.

@desandro

This comment has been minimized.

Member

desandro commented Mar 29, 2018

Thanks for this question! I wrote up a whole blog post: What is this in event listeners?

@desandro desandro closed this Mar 29, 2018

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