summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/FunctionEnvironment.cpp
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-04-30 22:22:52 +0200
committerLinus Groh <mail@linusgroh.de>2022-05-01 22:47:38 +0200
commit5a26a547dbd3e0a05f0f8991876b254ba044103e (patch)
tree4e807a2f60a5651d415a0536a37233a12306a4f4 /Userland/Libraries/LibJS/Runtime/FunctionEnvironment.cpp
parentce659e5eeba08989ff671e86a691ca83315bc722 (diff)
downloadserenity-5a26a547dbd3e0a05f0f8991876b254ba044103e.zip
LibJS: Update a couple of outdated spec comments
These are editorial changes in the ECMA-262 spec. See: - https://github.com/tc39/ecma262/commit/e080a7f - https://github.com/tc39/ecma262/commit/c5a9094 - https://github.com/tc39/ecma262/commit/5091520 - https://github.com/tc39/ecma262/commit/1c6564b - https://github.com/tc39/ecma262/commit/e06c80c
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/FunctionEnvironment.cpp')
-rw-r--r--Userland/Libraries/LibJS/Runtime/FunctionEnvironment.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/FunctionEnvironment.cpp b/Userland/Libraries/LibJS/Runtime/FunctionEnvironment.cpp
index be0763ebe4..51d376a00c 100644
--- a/Userland/Libraries/LibJS/Runtime/FunctionEnvironment.cpp
+++ b/Userland/Libraries/LibJS/Runtime/FunctionEnvironment.cpp
@@ -32,7 +32,7 @@ ThrowCompletionOr<Value> FunctionEnvironment::get_super_base() const
// 1. Let home be envRec.[[FunctionObject]].[[HomeObject]].
auto home_object = m_function_object->home_object();
- // 2. If home has the value undefined, return undefined.
+ // 2. If home is undefined, return undefined.
if (!home_object)
return js_undefined();