1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:47:35 +00:00

LibJS: Implement the GetFunctionRealm() abstract operation

This commit is contained in:
Linus Groh 2021-06-19 22:15:00 +01:00 committed by Andreas Kling
parent 55db9539a5
commit 6312627218
2 changed files with 29 additions and 0 deletions

View file

@ -17,5 +17,6 @@ Function* get_method(GlobalObject& global_object, Value, PropertyName const&);
size_t length_of_array_like(GlobalObject&, Object const&);
MarkedValueList create_list_from_array_like(GlobalObject&, Value, AK::Function<Result<void, ErrorType>(Value)> = {});
Function* species_constructor(GlobalObject&, Object const&, Function& default_constructor);
GlobalObject* get_function_realm(GlobalObject&, Function const&);
}