Javascript Object length()
length()
Object.prototype.length = function() { return Object.keys(this).length; };