Update code.js

This commit is contained in:
syuilo⭐️ 2017-02-10 00:10:00 +09:00 committed by GitHub
parent d548f128d9
commit d0e015bb88

View file

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