1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 06:28:13 +00:00

LibJS: Implement the NewDeclarativeEnvironment() abstract operation

This commit is contained in:
Andreas Kling 2021-06-22 00:56:14 +02:00
parent c6baeca6d7
commit d8e9a176cd
4 changed files with 16 additions and 0 deletions

View file

@ -13,6 +13,7 @@
namespace JS {
DeclarativeEnvironmentRecord* new_declarative_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&);