diff options
author | 0xtechnobabble <0xtechnobabble@protonmail.com> | 2020-03-15 23:32:34 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-03-16 13:42:13 +0100 |
commit | cfd710eb31c47754ccd676bf78a4cdec778e741a (patch) | |
tree | 0f5cad64564f7c05b16930a43bae7d814b0e7f48 /Libraries/LibJS/Token.cpp | |
parent | 7aad10d9849f9133f987a6130b330220896ccc58 (diff) | |
download | serenity-cfd710eb31c47754ccd676bf78a4cdec778e741a.zip |
LibJS: Implement null and undefined literals
Diffstat (limited to 'Libraries/LibJS/Token.cpp')
-rw-r--r-- | Libraries/LibJS/Token.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Libraries/LibJS/Token.cpp b/Libraries/LibJS/Token.cpp index da5f75c839..a578122d4d 100644 --- a/Libraries/LibJS/Token.cpp +++ b/Libraries/LibJS/Token.cpp @@ -183,6 +183,8 @@ const char* Token::name(TokenType type) return "Try"; case TokenType::Typeof: return "Typeof"; + case TokenType::UndefinedLiteral: + return "UndefinedLiteral"; case TokenType::UnsignedShiftRight: return "UnsignedShiftRight"; case TokenType::UnsignedShiftRightEquals: |