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

Infinite loop eval #4

Open
VincentDamour opened this issue Jul 12, 2016 · 1 comment
Open

Infinite loop eval #4

VincentDamour opened this issue Jul 12, 2016 · 1 comment

Comments

@VincentDamour
Copy link

When writing a while loop, the code will eval and loop infinitely. This is the code I wrote before my browser freeze:

let i = 0;
while(i < 10) { }

I was going to write i++ inside the loop.

I would suggest using lemming.js to fix this.

@StephenGrider
Copy link
Owner

Great suggestion, I was looking into using a webworker for execution. Lemming looks like a good approach.

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

No branches or pull requests

2 participants