mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:38:11 +00:00
LibJS: Implement (no-op) debugger statement
This commit is contained in:
parent
ea839861e5
commit
43c1fa9965
9 changed files with 41 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue