mirror of
				https://github.com/tc39/test262.git
				synced 2025-11-03 21:24:30 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			647 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			647 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
// This file was procedurally generated from the following sources:
 | 
						|
// - src/class-elements/static-as-valid-static-field-assigned.case
 | 
						|
// - src/class-elements/default/cls-expr.template
 | 
						|
/*---
 | 
						|
description: static is a valid name of a static field (field definitions in a class expression)
 | 
						|
esid: prod-FieldDefinition
 | 
						|
features: [class-static-fields-public, class]
 | 
						|
flags: [generated]
 | 
						|
includes: [propertyHelper.js]
 | 
						|
info: |
 | 
						|
    ClassElement:
 | 
						|
      ...
 | 
						|
      static FieldDefinition ;
 | 
						|
 | 
						|
---*/
 | 
						|
 | 
						|
 | 
						|
var C = class {
 | 
						|
  static static = "test262";
 | 
						|
}
 | 
						|
 | 
						|
verifyProperty(C, "static", {
 | 
						|
  value: "test262",
 | 
						|
  enumerable: true,
 | 
						|
  writable: true,
 | 
						|
  configurable: true
 | 
						|
});
 | 
						|
 |