Node.js examples for Object:Object Operation
Key count for object
Util.KeyCount = function(obj) { var c = 0;//from w w w . j av a2 s.c o m for(var j in obj) { obj.hasOwnProperty(j) && ++c; } return c; }