mirror of
				https://github.com/tc39/test262.git
				synced 2025-10-30 19:24:12 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			379 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			379 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| // Copyright (C) 2018 Rick Waldron. All rights reserved.
 | |
| // This code is governed by the BSD license found in the LICENSE file.
 | |
| 
 | |
| /*---
 | |
| esid: prod-ClassElement
 | |
| name: class expression
 | |
| path: language/expressions/class/syntax/early-errors/
 | |
| features: [class]
 | |
| negative:
 | |
|   phase: parse
 | |
|   type: SyntaxError
 | |
| ---*/
 | |
| 
 | |
| $DONOTEVALUATE();
 | |
| 
 | |
| var C = class /*{ heritage }*/{
 | |
|   /*{ elements }*/
 | |
| };
 |