diff options
author | DexesTTP <dexes.ttp@gmail.com> | 2020-04-06 21:21:11 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-06 21:45:20 +0200 |
commit | 4a9485f830c1134177cbd066fdeb24458d1ec4d0 (patch) | |
tree | 26e057f3d3cf656d3f58fcf2c1451350e7c5ca18 /Kernel/Devices | |
parent | cb18b2c74df21f6d7e9677bd9e4eb0252f163f4d (diff) | |
download | serenity-4a9485f830c1134177cbd066fdeb24458d1ec4d0.zip |
LibJS: Fix impossible member access for negative integers
The PropertyName class able to match a number or an array can only
accept positive numerical values. However, the computed_property_name
method sometimes returned negative values.
This commit also adds a basic object access test case.
Diffstat (limited to 'Kernel/Devices')
0 files changed, 0 insertions, 0 deletions