Update code.js
This commit is contained in:
		
							parent
							
								
									d548f128d9
								
							
						
					
					
						commit
						d0e015bb88
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		|  | @ -31,6 +31,7 @@ const keywords = [ | ||||||
| 	'null', | 	'null', | ||||||
| 	'nil', | 	'nil', | ||||||
| 	'undefined', | 	'undefined', | ||||||
|  | 	'void', | ||||||
| 	'var', | 	'var', | ||||||
| 	'const', | 	'const', | ||||||
| 	'let', | 	'let', | ||||||
|  | @ -62,6 +63,10 @@ const keywords = [ | ||||||
| 	'new', | 	'new', | ||||||
| 	'this', | 	'this', | ||||||
| 	'class', | 	'class', | ||||||
|  | 	'public', | ||||||
|  | 	'private', | ||||||
|  | 	'protected', | ||||||
|  | 	'extends', | ||||||
| 	'constructor' | 	'constructor' | ||||||
| ].sort((a, b) => b.length - a.length); | ].sort((a, b) => b.length - a.length); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue