diff --git a/Userland/Libraries/LibJS/Runtime/VM.cpp b/Userland/Libraries/LibJS/Runtime/VM.cpp index 38e4a395fc..dc7a43ab75 100644 --- a/Userland/Libraries/LibJS/Runtime/VM.cpp +++ b/Userland/Libraries/LibJS/Runtime/VM.cpp @@ -336,6 +336,7 @@ Value VM::get_new_target() const Value VM::call_internal(Function& function, Value this_value, Optional arguments) { VERIFY(!exception()); + VERIFY(!this_value.is_empty()); CallFrame call_frame; call_frame.callee = &function;