diff options
author | Linus Groh <mail@linusgroh.de> | 2021-06-08 21:53:36 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-08 23:53:13 +0200 |
commit | 83be39c91aeff53c5dfd158844e8ad73f10ae9d2 (patch) | |
tree | a7b493153ec3319a886a493a962d6541ae6a4ff9 /AK/Stack.h | |
parent | 9b35231453ddcf939dd10c40787ee7e5ef5b5fe0 (diff) | |
download | serenity-83be39c91aeff53c5dfd158844e8ad73f10ae9d2.zip |
LibJS: Handle Proxy with Array target in IsArray() abstract operation
This was missing from Value::is_array(), which is equivalent to the
spec's IsArray() abstract operation - it treats a Proxy value with an
Array target object as being an Array.
It can throw, so needs both the global object and an exception check
now.
Diffstat (limited to 'AK/Stack.h')
0 files changed, 0 insertions, 0 deletions