Files
ladybird/Userland/Libraries/LibJS/Runtime/GlobalObject.cpp
Linus Groh 7b1ba4bd5c LibJS: Fallback to undefined if last value in eval() is empty
For something like eval(""), the VM's 'last value' is an empty value,
which we must not leak.

Fixes #6643.
2021-04-25 22:52:19 +02:00

16 KiB