title: conditional variable in object
body: <p>Just tried to do something like this and it wont work, wondering if there is anyway?</p>
  
  <pre><code>var obj = {
      intiger:5,
      conditional:(something) ? "something" : "nothing",
      string:"nothing important"
  };
  </code></pre>
  
  <p>This is breaking because of the presence of the <code>:</code> within the <code>conditional</code>. Anyway to do this without it breaking and keeping this format of <code>obj</code>.</p>
  
  <p>I know that I can do.</p>
  
  <pre><code>obj.conditional = (something) ? "something" : "nothing";
  </code></pre>