diff options
Diffstat (limited to 'Userland/js.cpp')
-rw-r--r-- | Userland/js.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/js.cpp b/Userland/js.cpp index 5f7adfd1db..ad273e4fc3 100644 --- a/Userland/js.cpp +++ b/Userland/js.cpp @@ -701,7 +701,7 @@ int main(int argc, char** argv) if (!variable.is_object()) return {}; - const auto* object = variable.to_object(interpreter->heap()); + const auto* object = variable.to_object(*interpreter); const auto& shape = object->shape(); list_all_properties(shape, property_pattern); if (results.size()) |