Skip to content
This repository
Browse code

adding undefined builtin

  • Loading branch information...
commit 3e96dd3fd1e60da13d3fe71d696c78bbf1c6443e 1 parent 3f970be
Douglas Campos authored May 03, 2012
1  src/main/java/org/dynjs/runtime/DynThreadContext.java
@@ -36,6 +36,7 @@ public String toString() {
36 36
 
37 37
     private static final Map<String, Object> BUILTINS = new LinkedHashMap<String, Object>() {{
38 38
         put("eval", new Eval());
  39
+        put("undefined", UNDEFINED);
39 40
     }};
40 41
 
41 42
     private ThreadLocal<DynJS> runtime = new ThreadLocal<>();

0 notes on commit 3e96dd3

Please sign in to comment.
Something went wrong with that request. Please try again.