I created a and printed it to the console using console.dir($("<div>Hi</div>")[0]);. However, I see that its scrollWidth and clientWidth are both 0. Why is that?
console.dir($("<div>Hi</div>")[0]);
scrollWidth
clientWidth