Browse By

Daily Archives: October 22, 2013

How to get the size of a javascript Object

There are times that you will need to get the size of an object but the lack of .length maybe will drive you crazy. The solution is simple. Just create a function in which you pass the object as a parameter and then loop through