mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 20:23:08 +02:00
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',
|
||||
'nil',
|
||||
'undefined',
|
||||
'void',
|
||||
'var',
|
||||
'const',
|
||||
'let',
|
||||
|
@ -62,6 +63,10 @@ const keywords = [
|
|||
'new',
|
||||
'this',
|
||||
'class',
|
||||
'public',
|
||||
'private',
|
||||
'protected',
|
||||
'extends',
|
||||
'constructor'
|
||||
].sort((a, b) => b.length - a.length);
|
||||
|
||||
|
|
Loading…
Reference in a new issue