pub fn call_constructor_q(
q_ctx: &QuickJsRealmAdapter,
constructor_ref: &QuickJsValueAdapter,
arguments: &[QuickJsValueAdapter],
) -> Result<QuickJsValueAdapter, JsError>
Expand description
call a constructor (instantiate an Object)
pub fn call_constructor_q(
q_ctx: &QuickJsRealmAdapter,
constructor_ref: &QuickJsValueAdapter,
arguments: &[QuickJsValueAdapter],
) -> Result<QuickJsValueAdapter, JsError>
call a constructor (instantiate an Object)