if (/*a*/ arr /*b*/ instanceof /*c*/ Array /*d*/) {} const c = [1,2,3] instanceof globalThis.Array === b; const d = foo.bar[2] instanceof window.Array