mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
LibJS: Handle unwinding in while and do-while statements
For some reason, this was never added. So something like "while (true) { return }" would loop infinitely.
This commit is contained in:
parent
397e5766ff
commit
d980073122
2 changed files with 20 additions and 0 deletions
0
Libraries/LibJS/Tests/return.js
Normal file
0
Libraries/LibJS/Tests/return.js
Normal file
Loading…
Add table
Add a link
Reference in a new issue