mirror of
				https://github.com/tc39/test262.git
				synced 2025-10-31 11:44:31 +01:00 
			
		
		
		
	Rename & improve large target function "length" test
This commit is contained in:
		
							parent
							
								
									8fbe2f82ef
								
							
						
					
					
						commit
						51fac5f93b
					
				| @ -24,3 +24,6 @@ function f(){} | |||||||
| Object.defineProperty(f, "length", {value: 2147483648}); | Object.defineProperty(f, "length", {value: 2147483648}); | ||||||
| 
 | 
 | ||||||
| assert.sameValue(f.bind().length, 2147483648); | assert.sameValue(f.bind().length, 2147483648); | ||||||
|  | 
 | ||||||
|  | Object.defineProperty(f, "length", {value: Number.MAX_SAFE_INTEGER}); | ||||||
|  | assert.sameValue(f.bind().length, Number.MAX_SAFE_INTEGER); | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user