title: JavaScript - increasing a global variable as function argument
body: <p>If i have code, where i want in console "0 1" instead of "0 0"</p>
  
  <pre><code>function increase(f) { f++; }
  var n = 0;
  console.log(n);
  increase(n);
  console.log(n);
  </code></pre>
  
  <p>How to increase in such way the variable. I wish use like in c-language &amp;v. Is it possible?</p>