On this page:
js-eval
js-eval/ sexp
Version: 4.1.0.2

7 Evaluation

This library provides facilities for evaluating JavaScript. It be can required via:

 (require (planet dherman/javascript:6/eval))

(js-eval src [ns])  any

  src : (or/c input-source? syntax?)

  ns : namespace? = (make-js-namespace)

Evaluates a JavaScript script from source src in namespace ns.

(js-eval/sexp src [ns])  any

  src : sexp?

  ns : namespace? = (make-js-namespace)

Evaluates a JavaScript script from S-expression source src in namespace ns.