mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
LibJS: Correct behaviour of direct vs. indirect eval
eval only has direct access to the local scope when accessed through the name eval. This includes locals named eval, because of course it does.
This commit is contained in:
Notes:
sideshowbarker
2024-07-18 11:38:05 +09:00
Author: https://github.com/yeeter-the-dog 🔰 Commit: https://github.com/SerenityOS/serenity/commit/2822da8c8f0 Pull-request: https://github.com/SerenityOS/serenity/pull/8176 Reviewed-by: https://github.com/linusg Reviewed-by: https://github.com/mattco98
@@ -1 +1,3 @@
|
||||
Base/home/anon/Source/js
|
||||
Userland/Libraries/LibJS/Tests/eval-aliasing.js
|
||||
|
||||
|
||||
Reference in New Issue
Block a user