mirror of
				https://github.com/tc39/test262.git
				synced 2025-10-25 17:53:53 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			372 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			372 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| // Copyright 2009 the Sputnik authors.  All rights reserved.
 | |
| // This code is governed by the BSD license found in the LICENSE file.
 | |
| 
 | |
| /*---
 | |
| info: Object is the property of global
 | |
| es5id: 15.2_A1
 | |
| description: Checking if Object equals to this.Object
 | |
| ---*/
 | |
| 
 | |
| var obj = Object;
 | |
| 
 | |
| var thisobj = this.Object;
 | |
| 
 | |
| if (obj !== thisobj) {
 | |
|   $ERROR('Object is the property of global');
 | |
| }
 |