Function mozjs::jsapi::JS_ExecuteScript

source ยท
pub unsafe extern "C" fn JS_ExecuteScript(
    cx: *mut JSContext,
    script: Handle<*mut JSScript>,
    rval: MutableHandle<Value>,
) -> bool
Expand description

Evaluate a script in the scope of the current global of cx.