pub unsafe fn ToObjectSlow(
    cx: *mut JSContext,
    v: HandleValue<'_>,
    reportScanStack: bool
) -> *mut JSObject