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

LibJS: Implement the NewObjectEnvironment() abstract operation

This commit is contained in:
Andreas Kling 2021-06-22 01:14:27 +02:00
parent d8e9a176cd
commit 395bee07e0
3 changed files with 14 additions and 1 deletions

View file

@ -14,6 +14,7 @@
namespace JS {
DeclarativeEnvironmentRecord* new_declarative_environment(EnvironmentRecord&);
ObjectEnvironmentRecord* new_object_environment(Object&, bool is_with_environment, EnvironmentRecord*);
Value require_object_coercible(GlobalObject&, Value);
Function* get_method(GlobalObject& global_object, Value, PropertyName const&);
size_t length_of_array_like(GlobalObject&, Object const&);