mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 08:32:43 +00:00 
			
		
		
		
	LibJS: Port iterator_step() to GCPtr
This commit is contained in:
		
							parent
							
								
									e54536421a
								
							
						
					
					
						commit
						aff1ec6014
					
				
					 12 changed files with 19 additions and 19 deletions
				
			
		|  | @ -74,7 +74,7 @@ static JS::ThrowCompletionOr<Vector<String>> convert_value_to_sequence_of_string | |||
|     // 3. Repeat
 | ||||
|     for (;;) { | ||||
|         // 1. Let next be ? IteratorStep(iter).
 | ||||
|         auto* next = TRY(JS::iterator_step(vm, iterator)); | ||||
|         auto next = TRY(JS::iterator_step(vm, iterator)); | ||||
| 
 | ||||
|         // 2. If next is false, then return an IDL sequence value of type sequence<T> of length i, where the value of the element at index j is Sj.
 | ||||
|         if (!next) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Linus Groh
						Linus Groh