mirror of
				https://github.com/tc39/test262.git
				synced 2025-10-31 03:34:08 +01:00 
			
		
		
		
	Fix typo in TypedArray test with SharedArrayBuffers
This commit is contained in:
		
							parent
							
								
									c16359bc3c
								
							
						
					
					
						commit
						bb369e1e7c
					
				| @ -69,7 +69,7 @@ testWithTypedArrayConstructors(function(TA) { | |||||||
|   assert(compareArray(sample, [1, 2, 42, 43]), "sample is SAB-backed, offset: 2, result: " + sample); |   assert(compareArray(sample, [1, 2, 42, 43]), "sample is SAB-backed, offset: 2, result: " + sample); | ||||||
|   assert.sameValue(result, undefined, "returns undefined"); |   assert.sameValue(result, undefined, "returns undefined"); | ||||||
| 
 | 
 | ||||||
|   var sab1 = new SharedArrayBuffer(2 * TA.BYTES_PER_ELEMENT); |   var sab1 = new SharedArrayBuffer(2 * other.BYTES_PER_ELEMENT); | ||||||
|   src = new other(sab1); |   src = new other(sab1); | ||||||
|   src[0] = 42; |   src[0] = 42; | ||||||
|   src[1] = 43; |   src[1] = 43; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user