Node.js examples for Object:Property
Get object own Properties
function getOwnProperties ( object ) { var array = []; for ( var propertyName in object ) if ( object.hasOwnProperty( propertyName ) ) array.push( propertyName );/*w w w. j a v a2 s.c o m*/ return array; }