Function mozjs::rust::jsapi_wrapped::JS_NewObjectWithGivenProto
source · pub unsafe fn JS_NewObjectWithGivenProto(
cx: *mut JSContext,
clasp: *const JSClass,
proto: HandleObject<'_>
) -> *mut JSObject