mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-02 22:55:23 +00:00
LibJS: Fix logic typo in ArgumentsObject.[[Set]]
Thanks to Linus for spotting this! :^)
This commit is contained in:
@@ -57,7 +57,7 @@ bool ArgumentsObject::internal_set(PropertyName const& property_name, Value valu
|
||||
bool is_mapped = false;
|
||||
|
||||
// 1. If SameValue(args, Receiver) is false, then
|
||||
if (same_value(this, receiver)) {
|
||||
if (!same_value(this, receiver)) {
|
||||
// a. Let isMapped be false.
|
||||
is_mapped = false;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user