title: Does the original string always stay unmodified?
body: <pre><code> var name = 'naGeoExit';
  
   var name = name.substring(2,5);      
   console.log(name); //output: Geo
  </code></pre>
  
  <p>Is the first name variable and the second name variable are two different variables being allocated in the different parts of the memory or value of the original variable is being changed ?</p>