LibJS: Update a couple of outdated spec comments

These are editorial changes in the ECMA-262 spec.

See:
- e080a7f
- c5a9094
- 5091520
- 1c6564b
- e06c80c
This commit is contained in:
Linus Groh 2022-04-30 22:22:52 +02:00
commit 5a26a547db
Notes: sideshowbarker 2024-07-17 11:24:50 +09:00
6 changed files with 12 additions and 10 deletions

View file

@ -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();