mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +00:00
LibJS: Replace GlobalObject with VM in Iterator AOs [Part 7/19]
This commit is contained in:
parent
ae9e031f56
commit
ccdfa2320c
30 changed files with 171 additions and 182 deletions
|
@ -52,7 +52,7 @@ ThrowCompletionOr<Object*> AggregateErrorConstructor::construct(FunctionObject&
|
|||
|
||||
TRY(aggregate_error->install_error_cause(vm.argument(2)));
|
||||
|
||||
auto errors_list = TRY(iterable_to_list(global_object, vm.argument(0)));
|
||||
auto errors_list = TRY(iterable_to_list(vm, vm.argument(0)));
|
||||
|
||||
MUST(aggregate_error->define_property_or_throw(vm.names.errors, { .value = Array::create_from(realm, errors_list), .writable = true, .enumerable = false, .configurable = true }));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue