Skip to content
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

The script with arrow functions is not executed #81

Closed
vovka93 opened this issue Jun 13, 2019 · 2 comments
Closed

The script with arrow functions is not executed #81

vovka93 opened this issue Jun 13, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@vovka93
Copy link

vovka93 commented Jun 13, 2019

Example not working:

function Person() {
  this.age = 0;

  setInterval(() => {
    console.log(this.age++)
  }, 1000);
}

var p = new Person();
@lukehaas lukehaas added the bug Something isn't working label Jun 13, 2019
@lukehaas
Copy link
Owner

Thanks for raising this.

@lukehaas
Copy link
Owner

This is now resolved in the latest release - 1.5.3

@vovka93 vovka93 closed this as completed Jun 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants