function | removed v1.10.738 | added v0.0-3030 | Edit |
(repl-env* opts)
(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)})))