1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 12:47:45 +00:00

LibJS: Evaluate this in terms of ResolveThisBinding

This commit is contained in:
Andreas Kling 2021-06-25 11:40:03 +02:00
parent 92ce4ac23f
commit 6e1932e8b2
3 changed files with 10 additions and 1 deletions

View file

@ -162,6 +162,8 @@ public:
return running_execution_context().this_value;
}
Value resolve_this_binding(GlobalObject&);
Value last_value() const { return m_last_value; }
void set_last_value(Badge<Bytecode::Interpreter>, Value value) { m_last_value = value; }
void set_last_value(Badge<Interpreter>, Value value) { m_last_value = value; }