summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/AST.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/AST.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/AST.cpp')
-rw-r--r--Userland/Libraries/LibJS/AST.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/AST.cpp b/Userland/Libraries/LibJS/AST.cpp
index 854418f9e6..0d32dec26c 100644
--- a/Userland/Libraries/LibJS/AST.cpp
+++ b/Userland/Libraries/LibJS/AST.cpp
@@ -1381,7 +1381,7 @@ ThrowCompletionOr<Reference> MemberExpression::to_reference(Interpreter& interpr
property_key = static_cast<Identifier const&>(property()).string();
}
- // 6. If the code matched by this SuperProperty is strict mode code, let strict be true; else let strict be false.
+ // 6. If the source text matched by this SuperProperty is strict mode code, let strict be true; else let strict be false.
bool strict = interpreter.vm().in_strict_mode();
// 7. Return ? MakeSuperPropertyReference(actualThis, propertyKey, strict).