title: Is it possible to add dynamically named properties to JavaScript object?
body: <p>In JavaScript, I've created an object like so:</p>
  
  <pre><code>var data = {
      'PropertyA': 1,
      'PropertyB': 2,
      'PropertyC': 3
  };
  </code></pre>
  
  <p>Is it possible to add further properties to this object after its initial creation if the properties name is not determined until run time? i.e.</p>
  
  <pre><code>var propName = 'Property' + someUserInput
  //imagine someUserInput was 'Z', how can I now add a 'PropertyZ' property to 
  //my object?
  </code></pre>