mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:48:12 +00:00
LibJS: Make Value::to_object() take a GlobalObject&
This commit is contained in:
parent
cd14ebb11f
commit
8d56e6103e
28 changed files with 129 additions and 129 deletions
|
@ -832,7 +832,7 @@ int main(int argc, char** argv)
|
|||
if (!variable.is_object())
|
||||
break;
|
||||
|
||||
const auto* object = variable.to_object(*interpreter);
|
||||
const auto* object = variable.to_object(*interpreter, interpreter->global_object());
|
||||
const auto& shape = object->shape();
|
||||
list_all_properties(shape, property_name);
|
||||
if (results.size())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue