Alternatively, I could do `typeof body.style.zoom === "string" ? { zoom: "1" } : {}`.

Btw, may I lose quote marks around `1`? Browsers convert it to string anyway and it could save some bytes.