This script runs inline at the end of the body of an otherwise empty page. What does it log?
const box = document.createElement("div");
box.style.width = "100px";
document.body.appendChild(box);
console.log(box.offsetWidth);
box.style.display = "none";
console.log(box.offsetWidth);
console.log(getComputedStyle(box).width);
box.style.display = "block";
box.style.visibility = "hidden";
console.log(box.offsetWidth);