summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-05-03 22:51:36 +0200
committerLinus Groh <mail@linusgroh.de>2022-05-03 22:51:36 +0200
commit50d0f879f7298a90d530a153a729f905257075f7 (patch)
tree94cd28f4eff6eb74248915137c750622b4f750d2 /Userland
parentf3768705a97ed07423024997fd5224712965acb1 (diff)
downloadserenity-50d0f879f7298a90d530a153a729f905257075f7.zip
LibJS: Remove bogus FIXME in ArgumentsObject::internal_get()
Not sure what happened here, but the comment does not match the spec, and so the FIXME I added is not actually an issue.
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibJS/Runtime/ArgumentsObject.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/ArgumentsObject.cpp b/Userland/Libraries/LibJS/Runtime/ArgumentsObject.cpp
index 3a8be5b28c..f9b6d0eb90 100644
--- a/Userland/Libraries/LibJS/Runtime/ArgumentsObject.cpp
+++ b/Userland/Libraries/LibJS/Runtime/ArgumentsObject.cpp
@@ -41,8 +41,7 @@ ThrowCompletionOr<Value> ArgumentsObject::internal_get(PropertyKey const& proper
// 3. If isMapped is false, then
if (!is_mapped) {
- // a. Return ! OrdinaryGet(args, P, Receiver).
- // FIXME: Using MUST here breaks one test in test262 (spec issue).
+ // a. Return ? OrdinaryGet(args, P, Receiver).
return Object::internal_get(property_key, receiver);
}