Skip to content

Commit

Permalink
LibJS: Remove bogus FIXME in ArgumentsObject::internal_get()
Browse files Browse the repository at this point in the history
Not sure what happened here, but the comment does not match the spec,
and so the FIXME I added is not actually an issue.
  • Loading branch information
linusg committed May 3, 2022
1 parent f376870 commit 50d0f87
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Userland/Libraries/LibJS/Runtime/ArgumentsObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 50d0f87

Please sign in to comment.