3 ms·
You could modify the AST tree using something like jscodeshift to add a function that is called in every loop (and maybe every function) and there you can "brea
by mattigames 6y ago
You could modify the AST tree using something like jscodeshift to add a function that is called in every loop (and maybe every function) and there you can "break" the loop in a pretty clean way.
- protoduction 6y agoA determined user will still be able to figure out something that blocks forever, for instance run a WASM program that has an infinite loop in it.