mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 11:20:03 +00:00
LibJS: Port iterator_step() to GCPtr
This commit is contained in:
@@ -191,7 +191,7 @@ JS_DEFINE_NATIVE_FUNCTION(ArrayConstructor::from)
|
||||
auto property_key = PropertyKey { k };
|
||||
|
||||
// iii. Let next be ? IteratorStep(iteratorRecord).
|
||||
auto* next = TRY(iterator_step(vm, iterator));
|
||||
auto next = TRY(iterator_step(vm, iterator));
|
||||
|
||||
// iv. If next is false, then
|
||||
if (!next) {
|
||||
|
||||
Reference in New Issue
Block a user