title: `string.replace` doesn’t change the variable
body: <pre class="lang-js prettyprint-override"><code>var variableABC = &quot;A B C&quot;; 
  variableABC.replace(&quot;B&quot;, &quot;D&quot;) // Wanted output: &quot;A D C&quot;.
  </code></pre>
  <p>but <code>variableABC</code> didn’t change:</p>
  <pre class="lang-js prettyprint-override"><code>console.log(variableABC); // &quot;A B C&quot;
  </code></pre>
  <p>I want it to be <code>&quot;A D C&quot;</code>.</p>