michael@0: try { michael@0: [0,0].sort(Array.some) michael@0: "".replace(RegExp(), Array.reduce) michael@0: } catch (error) { michael@0: if (!(error instanceof TypeError && error.message == "0 is not a function")) michael@0: throw error; michael@0: }