mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:18:11 +00:00
LibJS: Correct receiver value in GetValue's [[Get]] call
This commit is contained in:
parent
5e2d059508
commit
b126a8b697
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ ThrowCompletionOr<Value> Reference::get_value(GlobalObject& global_object) const
|
|||
base_obj = TRY(m_base_value.to_object(global_object));
|
||||
|
||||
// c. Return ? baseObj.[[Get]](V.[[ReferencedName]], GetThisValue(V)).
|
||||
return base_obj->internal_get(m_name, m_base_value);
|
||||
return base_obj->internal_get(m_name, get_this_value());
|
||||
}
|
||||
|
||||
// 5. Else,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue