summaryrefslogtreecommitdiff
path: root/AK/Array.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-06-08 21:53:36 +0100
committerAndreas Kling <kling@serenityos.org>2021-06-08 23:53:13 +0200
commit83be39c91aeff53c5dfd158844e8ad73f10ae9d2 (patch)
treea7b493153ec3319a886a493a962d6541ae6a4ff9 /AK/Array.h
parent9b35231453ddcf939dd10c40787ee7e5ef5b5fe0 (diff)
downloadserenity-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/Array.h')
0 files changed, 0 insertions, 0 deletions