diff options
Diffstat (limited to 'Userland/Utilities/js.cpp')
-rw-r--r-- | Userland/Utilities/js.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/js.cpp b/Userland/Utilities/js.cpp index 8716fef063..90749d5bbb 100644 --- a/Userland/Utilities/js.cpp +++ b/Userland/Utilities/js.cpp @@ -452,7 +452,7 @@ static void print_value(JS::Value value, HashTable<JS::Object*>& seen_objects) if (value.is_object()) { auto& object = value.as_object(); - if (object.is_array()) + if (is<JS::Array>(object)) return print_array(static_cast<JS::Array&>(object), seen_objects); if (object.is_function()) return print_function(object, seen_objects); |