Function javascriptcore_sys::JSEvaluateScript [] [src]

pub unsafe extern "C" fn JSEvaluateScript(
    ctx: JSContextRef,
    script: JSStringRef,
    thisObject: JSObjectRef,
    sourceURL: JSStringRef,
    startingLineNumber: c_int,
    exception: *mut JSValueRef
) -> JSValueRef

Evaluates a string of JavaScript.

The JSValue that results from evaluating script, or NULL if an exception is thrown.