aboutsummaryrefslogtreecommitdiffstats
path: root/src/Parser.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/Parser.js')
-rw-r--r--src/Parser.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Parser.js b/src/Parser.js
index 941d37f7..81a2afdc 100644
--- a/src/Parser.js
+++ b/src/Parser.js
@@ -10,6 +10,7 @@ Lexer.OPERATORS = {
'null':function(self){return null;},
'true':function(self){return true;},
'false':function(self){return false;},
+ 'undefined':noop,
'+':function(self, a,b){return (a||0)+(b||0);},
'-':function(self, a,b){return (a||0)-(b||0);},
'*':function(self, a,b){return a*b;},