title: Why does setting a new value to a variable not reflect in console?
body: <p>Was going through MDN's tutorials and wanted expand on a part which is where I ran into this issue. When I ran the code below:</p>
  <pre><code>    let examScore = 45;
      let examHighestScore = 70;
      examReport = `You scored ${ examScore }/${ examHighestScore } (${ Math.round((examScore/examHighestScore*100)) }%). ${ examScore &gt;= 49 ? 'Well done, you passed!' : 'Bad luck, you didn\'t pass this time.' }`;
  </code></pre>
  <p>it returns <code>&quot;You scored 45/70 (64%). Bad luck, you didn't pass this time.&quot;</code> When I set a new value to <code>examScore</code>, the return doesn't reflect the new value.
  I set a new value for <code>examScore</code> then ran <code>examReport</code> again like below.</p>
  <pre><code>    examScore = 60;
      examReport;
  </code></pre>
  <p>I was expecting:</p>
  <pre><code>&quot;You scored 60/70 (86%). Well done, you passed!&quot;
  </code></pre>
  <p>What I got was:</p>
  <pre><code>&quot;You scored 45/70 (64%). Bad luck, you didn't pass this time.&quot;
  </code></pre>
  <p>I even checked <code>examScore</code> and it returns <code>60</code>.
  Not sure if its a developer console or js issue. Any guidance would be appreciated!</p>