pub unsafe fn call_function_ref_args(
    context: *mut JSContext,
    function_ref: &JSValueRef,
    arguments: &[&JSValueRef],
    this_ref_opt: Option<&JSValueRef>
) -> Result<JSValueRef, JsError>
Expand description

call a function

Safety

When passing a context pointer please make sure the corresponding QuickJsContext is still valid