mirror of
				https://github.com/tc39/test262.git
				synced 2025-10-30 19:24:12 +01:00 
			
		
		
		
	
							parent
							
								
									55658a4fa2
								
							
						
					
					
						commit
						c5b24c64c3
					
				| @ -15,10 +15,13 @@ info: | | |||||||
|     b. Let next be ? IteratorStep(iteratorRecord). |     b. Let next be ? IteratorStep(iteratorRecord). | ||||||
| 
 | 
 | ||||||
|   ... |   ... | ||||||
| features: [array-grouping, Map] | features: [array-grouping, Map, Symbol.iterator] | ||||||
| ---*/ | ---*/ | ||||||
| 
 | 
 | ||||||
| const throwingIterator = { | const throwingIterator = { | ||||||
|  |   [Symbol.iterator]: function () { | ||||||
|  |     return this; | ||||||
|  |   }, | ||||||
|   next: function next() { |   next: function next() { | ||||||
|     throw new Test262Error('next() method was called'); |     throw new Test262Error('next() method was called'); | ||||||
|   } |   } | ||||||
|  | |||||||
| @ -15,10 +15,13 @@ info: | | |||||||
|     b. Let next be ? IteratorStep(iteratorRecord). |     b. Let next be ? IteratorStep(iteratorRecord). | ||||||
| 
 | 
 | ||||||
|   ... |   ... | ||||||
| features: [array-grouping] | features: [array-grouping, Symbol.iterator] | ||||||
| ---*/ | ---*/ | ||||||
| 
 | 
 | ||||||
| const throwingIterator = { | const throwingIterator = { | ||||||
|  |   [Symbol.iterator]: function () { | ||||||
|  |     return this; | ||||||
|  |   }, | ||||||
|   next: function next() { |   next: function next() { | ||||||
|     throw new Test262Error('next() method was called'); |     throw new Test262Error('next() method was called'); | ||||||
|   } |   } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user