title: I want to make a function more reusable by using a variable name store inside of a function parameter. How would I do that?
body: <p>I want to make a function more reusable by being able to give variable name to it and modify the value of that variable within the function from that variable.</p>
  <p>Kind of like this:</p>
  <pre><code>var number1;
  function one(){
    number1 = 10;
    two(number1);
  }
  function two(varname){
    varname = varname * 10;
  }
  </code></pre>
  <p>How can I do that?</p>