Permalink
Browse files

adding undefined builtin

  • Loading branch information...
1 parent 3f970be commit 3e96dd3fd1e60da13d3fe71d696c78bbf1c6443e @qmx qmx committed May 3, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/main/java/org/dynjs/runtime/DynThreadContext.java
@@ -36,6 +36,7 @@ public String toString() {
private static final Map<String, Object> BUILTINS = new LinkedHashMap<String, Object>() {{
put("eval", new Eval());
+ put("undefined", UNDEFINED);
}};
private ThreadLocal<DynJS> runtime = new ThreadLocal<>();

0 comments on commit 3e96dd3

Please sign in to comment.