mirror of
				https://github.com/tc39/test262.git
				synced 2025-11-04 13:44:29 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
		
			621 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			621 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
// This file was procedurally generated from the following sources:
 | 
						|
// - src/class-fields/grammar-fields-multi-line.case
 | 
						|
// - src/class-fields/syntax/valid/cls-expr-fields-valid-syntax.template
 | 
						|
/*---
 | 
						|
description: Valid multi-line, multi-field (class expression)
 | 
						|
esid: prod-ClassElement
 | 
						|
features: [class-fields-public, class]
 | 
						|
flags: [generated]
 | 
						|
info: |
 | 
						|
    
 | 
						|
    ClassElement :
 | 
						|
      MethodDefinition
 | 
						|
      static MethodDefinition
 | 
						|
      FieldDefinition ;
 | 
						|
      ;
 | 
						|
 | 
						|
    FieldDefinition :
 | 
						|
      ClassElementName Initializer _opt
 | 
						|
 | 
						|
    ClassElementName :
 | 
						|
      PropertyName
 | 
						|
      PrivateName
 | 
						|
 | 
						|
---*/
 | 
						|
 | 
						|
 | 
						|
var C = class {
 | 
						|
  x
 | 
						|
  y
 | 
						|
};
 |