mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:57:35 +00:00
LibJS: Implement the NewDeclarativeEnvironment() abstract operation
This commit is contained in:
parent
c6baeca6d7
commit
d8e9a176cd
4 changed files with 16 additions and 0 deletions
|
@ -24,6 +24,11 @@ DeclarativeEnvironmentRecord::DeclarativeEnvironmentRecord(EnvironmentRecordType
|
|||
{
|
||||
}
|
||||
|
||||
DeclarativeEnvironmentRecord::DeclarativeEnvironmentRecord(EnvironmentRecord* parent_scope)
|
||||
: EnvironmentRecord(parent_scope)
|
||||
{
|
||||
}
|
||||
|
||||
DeclarativeEnvironmentRecord::DeclarativeEnvironmentRecord(HashMap<FlyString, Variable> variables, EnvironmentRecord* parent_scope)
|
||||
: EnvironmentRecord(parent_scope)
|
||||
, m_variables(move(variables))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue