diff options
Diffstat (limited to 'Userland/Libraries/LibJS')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/GlobalEnvironmentRecord.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/GlobalEnvironmentRecord.cpp b/Userland/Libraries/LibJS/Runtime/GlobalEnvironmentRecord.cpp index cca3f175fa..ab2fcd0dd5 100644 --- a/Userland/Libraries/LibJS/Runtime/GlobalEnvironmentRecord.cpp +++ b/Userland/Libraries/LibJS/Runtime/GlobalEnvironmentRecord.cpp @@ -42,7 +42,7 @@ void GlobalEnvironmentRecord::put_into_environment_record(FlyString const& name, bool GlobalEnvironmentRecord::delete_from_environment_record(FlyString const& name) { // FIXME: This should be a "composite" of the object record and the declarative record. - return object_record().delete_property(name); + return object_record().delete_from_environment_record(name); } Value GlobalEnvironmentRecord::get_this_binding(GlobalObject&) const |