sizeof
sizeof copied to clipboard
functions and arrays in object
Thanks for this util. I am wondering how this lib takes into account functions and arrays defined in an object like this:
var myObj = {
'a': 1,
'b': function(foo) {
//bar
},
'c': [1,2,3,4,5]
}
@tufandevrim currently module will not calculate both cases correctly. I will add it in the next version. Thanks for suggestion
fixed here https://github.com/miktam/sizeof/pull/76