mirror of
				https://github.com/tc39/test262.git
				synced 2025-11-03 21:24:30 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			364 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			364 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');
 | 
						|
}
 |