Declaring a local variable
<p>I want to declare a local variable as such:</p>

<pre><code>(var n=1)
</code></pre>

<p>Mostly so I can manipulate the order it gets evaluated in.</p>

<p>Eg Then I could do</p>

<pre><code>var increaseadNumber = (
    ar={
        inc:function(n){
            return n+1
        },
        dec:function(n){
            return n+2
        }
   }
).inc(1);
console.log(ar)//the object
console.log(increaseadNumber )//2
</code></pre>

<p>But, in my example ar is in the global namespace, and </p>

<pre><code>var increaseadNumber = (
  var ar={
        inc:function(n){
            return n+1
        },
        dec:function(n){
            return n+2
        }
   }
).inc(1);//syntax error
</code></pre>

<p>generates "SyntaxError: Unexpected token var"</p>

<p>Granted I could declare this over 2 statements, but I would prefer to it with 1 statement.</p>
