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

LibJS: Implement the GetPrototypeFromConstructor() abstract operation

This commit is contained in:
Linus Groh 2021-06-19 22:27:53 +01:00 committed by Andreas Kling
parent 6312627218
commit 500818e73d
2 changed files with 17 additions and 0 deletions

View file

@ -18,5 +18,6 @@ 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&);
Object* get_prototype_from_constructor(GlobalObject&, Function const& constructor, Object* (GlobalObject::*intrinsic_default_prototype)());
}