1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:07:34 +00:00

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
parent ce659e5eeb
commit 5a26a547db
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();