mirror of
				https://github.com/tc39/test262.git
				synced 2025-11-04 05:33:50 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			366 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			366 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
// Copyright 2009 the Sputnik authors.  All rights reserved.
 | 
						|
// This code is governed by the BSD license found in the LICENSE file.
 | 
						|
 | 
						|
/*---
 | 
						|
info: The length property of eval is 1
 | 
						|
es5id: 15.1.2.1_A4.4
 | 
						|
es6id: 18.2.1
 | 
						|
esid: sec-eval-x
 | 
						|
description: eval.length === 1
 | 
						|
---*/
 | 
						|
 | 
						|
//CHECK#1
 | 
						|
if (eval.length !== 1) {
 | 
						|
  $ERROR('#1: eval.length === 1. Actual: ' + (eval.length));
 | 
						|
}
 |