mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibJS: Rename BoundFunction::m_target_function to match spec name
This commit is contained in:
parent
a08292d76c
commit
4566472ed6
Notes:
sideshowbarker
2024-07-18 03:27:57 +09:00
Author: https://github.com/linusg
Commit: 4566472ed6
Pull-request: https://github.com/SerenityOS/serenity/pull/10203
Reviewed-by: https://github.com/IdanHo ✅
Reviewed-by: https://github.com/davidot
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