Skip to contents

Evaluates source code in an existing JSContext. Global state remains available to later evaluations, calls, and compiled scripts. Use ctx$eval(code) to invoke the method.

Usage

eval(code)

Arguments

code

JavaScript source code to evaluate.

Value

The evaluation result converted to R.