Return to Snippet

Revision: 45018
at April 22, 2011 06:41 by michaJlS


Initial Code
var getKeys = function(obj){
   var keys = [];
   for(var key in obj){
      keys.push(key);
   }
   return keys;
}

Initial URL
http://stackoverflow.com/questions/208016/how-to-list-the-properties-of-a-javascript-object

Initial Description

                                

Initial Title
How to list the properties of a javascript object

Initial Tags

                                

Initial Language
JavaScript