Hey everyone,

Is there any way to find out the size of an object in JavaScript? Say
I create an object like so:

Test = {
   variable : '',
   init : function() {},
   doSomething : function() {}
}

var a = new Test();

Is there anything I could do to get the size of "a" in kilobytes?

Thanks.

Reply via email to