mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:12:43 +00:00 
			
		
		
		
	LibJS: Rename PropertyName to PropertyKey
Let's use the same name as the spec. :^)
This commit is contained in:
		
							parent
							
								
									715e7fada8
								
							
						
					
					
						commit
						398c181c79
					
				
					 55 changed files with 287 additions and 287 deletions
				
			
		|  | @ -1384,7 +1384,7 @@ NonnullRefPtr<ObjectExpression> Parser::parse_object_expression() | |||
| 
 | ||||
|     // It is a Syntax Error if PropertyNameList of PropertyDefinitionList contains any duplicate
 | ||||
|     // entries for "__proto__" and at least two of those entries were obtained from productions  of
 | ||||
|     // the form PropertyDefinition : PropertyName : AssignmentExpression .
 | ||||
|     // the form PropertyDefinition : PropertyKey : AssignmentExpression .
 | ||||
|     bool has_direct_proto_property = false; | ||||
| 
 | ||||
|     while (!done() && !match(TokenType::CurlyClose)) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling