added AST_NaN (output as 0/0)

This commit is contained in:
Mihai Bazon
2012-09-18 10:53:46 +03:00
parent d91613b4a8
commit 21968285e8
3 changed files with 14 additions and 3 deletions

View File

@@ -661,6 +661,11 @@ var AST_Null = DEFNODE("Null", null, {
value: null
}, AST_Atom);
var AST_NaN = DEFNODE("NaN", null, {
$documentation: "The impossible value",
value: 0/0
}, AST_Atom);
var AST_Undefined = DEFNODE("Undefined", null, {
$documentation: "The `undefined` value",
value: (function(){}())