Function javascriptcore_sys::JSObjectCallAsConstructor [] [src]

pub unsafe extern "C" fn JSObjectCallAsConstructor(
    ctx: JSContextRef,
    object: JSObjectRef,
    argumentCount: usize,
    arguments: *const JSValueRef,
    exception: *mut JSValueRef
) -> JSObjectRef

Calls an object as a constructor.

Returns the JSObject that results from calling object as a constructor, or NULL if an exception is thrown or object is not a constructor.