JSPlaygrounds
JSPlaygrounds copied to clipboard
Infinite loop eval
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.
Great suggestion, I was looking into using a webworker for execution. Lemming looks like a good approach.