How to check the size of a javascript object (in memory) using pure javascript?
How to check the size of a javascript object (in memory) using pure javascript?
It does not seem possible, however, there is a library able to to estimate the size of an object.
Once added, just use the sizeof () function. For example:
var tamanho = sizeof(objeto);