diff options
author | Mihai Bazon <mihai@bazon.net> | 2012-09-18 10:53:46 +0300 |
---|---|---|
committer | Mihai Bazon <mihai@bazon.net> | 2012-09-18 10:53:46 +0300 |
commit | 21968285e8fad1cfe775b389c6bcd16e14b62c6c (patch) | |
tree | b1b26e0fc3f57e1ffee26d534552658b2404cf9a /lib/ast.js | |
parent | d91613b4a8318b7fdd0d18cf6550e6670c59f71e (diff) | |
download | tracifyjs-21968285e8fad1cfe775b389c6bcd16e14b62c6c.tar.gz tracifyjs-21968285e8fad1cfe775b389c6bcd16e14b62c6c.zip |
added AST_NaN (output as 0/0)
Diffstat (limited to 'lib/ast.js')
-rw-r--r-- | lib/ast.js | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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(){}()) |