title: Can I change the passed value inside function?
body: <p>I want to transfer variable using <code>function()</code>, but I am not sure if I am able to put variable inside of variable</p>
  
  <p>I tried to put variable inside variable like this <code>var toStore = myVariable</code></p>
  
  <pre><code>var myText = "Hi";
  
  changeMyText(myText);
  
  
  function changeMyText(variableToUse) {
      variableToUse = "Hello World";
      console.log(myText);
  }
  </code></pre>
  
  <p>It does not change the content of variable <code>myText</code></p>