cljs.repl.rhino/repl-env*

functionremoved v1.10.738added v0.0-3030Edit
(repl-env* opts)

Source code @ clojurescript:src/main/clojure/cljs/repl/rhino.clj
(defn repl-env*
  [opts]
  (let [cx (Context/enter)]
    ;; just avoid the 64K method limit
    ;; Rhino is slow even with optimizations enabled
    (.setOptimizationLevel cx -1)
    (merge (RhinoEnv.)
      {:cx cx
       :scope (.initStandardObjects cx)})))