Update code.js

This commit is contained in:
syuilo⭐️ 2017-02-10 00:10:00 +09:00 committed by GitHub
parent d548f128d9
commit d0e015bb88
1 changed files with 5 additions and 0 deletions

View File

@ -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);