title: Get an object property name as string
body: <p>Is it possible to get the property names of an object as an array of strings?</p>
  
  <p>For example if I made the object:</p>
  
  <pre><code>var obj = {
   prop1: true,
   prop2: false,
   prop3: false
  }
  </code></pre>
  
  <p>s there a some method 'getPropNames(obj)' that would return an array where each element is a property name so it would look like this:</p>
  
  <pre><code>props[0] = "prop1" 
  props[1] = "prop2" 
  props[2] = "prop3" 
  </code></pre>
  
  <p>Thanks in advance for any help.</p>