title: Variables in javascript vs namespacing
body: <p>What's the downside of using object properties as you would variables in Javascript? Does this not add a level of namespacing (effectively)? </p>
  
  <pre><code>var myProp = something;
  </code></pre>
  
  <p>vs </p>
  
  <pre><code>var myObj = {};
  
  myObj.myProp = something;
  </code></pre>