mirror of
https://github.com/RGBCube/serenity
synced 2025-07-23 19:37:34 +00:00
LibJS: Fix logic typo in ArgumentsObject.[[Set]]
Thanks to Linus for spotting this! :^)
This commit is contained in:
parent
a0acb6f058
commit
7fdeb0ec74
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ bool ArgumentsObject::internal_set(PropertyName const& property_name, Value valu
|
||||||
bool is_mapped = false;
|
bool is_mapped = false;
|
||||||
|
|
||||||
// 1. If SameValue(args, Receiver) is false, then
|
// 1. If SameValue(args, Receiver) is false, then
|
||||||
if (same_value(this, receiver)) {
|
if (!same_value(this, receiver)) {
|
||||||
// a. Let isMapped be false.
|
// a. Let isMapped be false.
|
||||||
is_mapped = false;
|
is_mapped = false;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue