mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:38:11 +00:00
LibJS: Rename BoundFunction::m_target_function to match spec name
This commit is contained in:
parent
a08292d76c
commit
4566472ed6
6 changed files with 19 additions and 28 deletions
|
@ -150,7 +150,7 @@ ThrowCompletionOr<Realm*> get_function_realm(GlobalObject& global_object, Functi
|
|||
auto& bound_function = static_cast<BoundFunction const&>(function);
|
||||
|
||||
// a. Let target be obj.[[BoundTargetFunction]].
|
||||
auto& target = bound_function.target_function();
|
||||
auto& target = bound_function.bound_target_function();
|
||||
|
||||
// b. Return ? GetFunctionRealm(target).
|
||||
return get_function_realm(global_object, target);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue