mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:47:44 +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:
parent
ce659e5eeb
commit
5a26a547db
6 changed files with 12 additions and 10 deletions
|
@ -582,7 +582,7 @@ ThrowCompletionOr<Reference> VM::resolve_binding(FlyString const& name, Environm
|
|||
// 2. Assert: env is an Environment Record.
|
||||
VERIFY(environment);
|
||||
|
||||
// 3. If the code matching the syntactic production that is being evaluated is contained in strict mode code, let strict be true; else let strict be false.
|
||||
// 3. If the source text matched by the syntactic production that is being evaluated is contained in strict mode code, let strict be true; else let strict be false.
|
||||
bool strict = in_strict_mode();
|
||||
|
||||
// 4. Return ? GetIdentifierReference(env, name, strict).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue