summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/Completion.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-05-01 01:24:05 +0200
committerLinus Groh <mail@linusgroh.de>2022-05-01 22:47:38 +0200
commitc9bdd59e200395f2eeb021e92ea0f02325048461 (patch)
tree1d8a8e4055edf16f3486e1fefad63e724c2dcb75 /Userland/Libraries/LibJS/Runtime/Completion.h
parent719137418dfb596cb5cf82ee1bfe4b4629c461f5 (diff)
downloadserenity-c9bdd59e200395f2eeb021e92ea0f02325048461.zip
LibJS: Change "Completion {}" to "Completion Record {}" in comments
This is an editorial change in the ECMA-262 spec. See: https://github.com/tc39/ecma262/commit/15a7d8a
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Completion.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Completion.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Completion.h b/Userland/Libraries/LibJS/Runtime/Completion.h
index 52322e9b4c..c9f3c29e96 100644
--- a/Userland/Libraries/LibJS/Runtime/Completion.h
+++ b/Userland/Libraries/LibJS/Runtime/Completion.h
@@ -84,7 +84,7 @@ public:
if (m_value.has_value())
return *this;
- // 3. Return Completion { [[Type]]: completionRecord.[[Type]], [[Value]]: value, [[Target]]: completionRecord.[[Target]] }.
+ // 3. Return Completion Record { [[Type]]: completionRecord.[[Type]], [[Value]]: value, [[Target]]: completionRecord.[[Target]] }.
return { m_type, move(value), m_target };
}