1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 20:28:11 +00:00

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.
This commit is contained in:
Linus Groh 2022-05-03 22:51:36 +02:00
parent f3768705a9
commit 50d0f879f7

View file

@ -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);
}