declaring vars inside object gives me error
<p>I am trying to create variables inside object as follows but it is giving me error. Here is <a href="http://jsfiddle.net/wnFUn/" rel="nofollow">DEMO</a></p>

<p>And same code is below</p>

<pre><code>var One = {
    var var1, var2;
    init: function () {
      var1 = 'some1';
      var2 = 'some2';
    }        
}

One.init();
</code></pre>

<p>​</p>
