mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 15:16:14 +00:00
LibJS: Implement (no-op) debugger statement
This commit is contained in:
committed by
Andreas Kling
parent
ea839861e5
commit
43c1fa9965
@@ -1396,6 +1396,12 @@ Value SequenceExpression::execute(Interpreter& interpreter) const
|
||||
return last_value;
|
||||
}
|
||||
|
||||
Value DebuggerStatement::execute(Interpreter&) const
|
||||
{
|
||||
dbg() << "Sorry, no JavaScript debugger available (yet)!";
|
||||
return js_undefined();
|
||||
}
|
||||
|
||||
void ScopeNode::add_variables(NonnullRefPtrVector<VariableDeclaration> variables)
|
||||
{
|
||||
m_variables.append(move(variables));
|
||||
|
||||
Reference in New Issue
Block a user