sizeof icon indicating copy to clipboard operation
sizeof copied to clipboard

Different size in chrome and mozilla

Open mahsashadi opened this issue 3 years ago • 1 comments

Why size-of logs two different size in Chrome and Firefox, for a complicated object, by using console.log().

console.log('mywin size is:',  sizeof(win));

// Result:
mywin size is: 22923784    //logs in Chrome
mywin size is: 37458302    //logs in Firefox

@miktam

mahsashadi avatar Feb 20 '22 11:02 mahsashadi

Firefox and Chrome are different browsers. Wouldn't that mean the Window object would also be different? I don't think we can expect the Window object to be the same size.

agiangrant avatar Jun 16 '22 14:06 agiangrant