Function script::dom::bindings::import::module::jsapi::JS::Evaluate

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

Evaluate the given source buffer in the scope of the current global of cx, and return the completion value in |rval|.