Function script::dom::bindings::import::module::jsapi::Evaluate1

source ·
pub unsafe extern "C" fn Evaluate1(
    cx: *mut JSContext,
    envChain: HandleObjectVector,
    options: *const ReadOnlyCompileOptions,
    srcBuf: *mut SourceText<u16>,
    rval: MutableHandle<Value>,
) -> bool
Expand description

As above, but providing an explicit scope chain. envChain must not include the global object on it; that’s implicit. It needs to contain the other objects that should end up on the script’s scope chain.