JavaScript giving nonsense errors : <p>So, me and a few friends are making a text adventure in JavaScript. in it, there is a possibility of the player using a heal spell, which runs the following code:</p>

<pre><code>function heal() {
  alert('You chant some ominous-sounding words, and your wounds heal');
  alert('Hit points restored!');
  hitPoints += 60;
  blobsOfDoom -= 30;
  burn();
  MonsAtt();
  Choose Spell();
}
</code></pre>

<h2>Error Messages:</h2>

<h3>Firefox:</h3>

<pre><code>/*
Exception: SyntaxError: missing ; before statement
@Scratchpad/1:2703
*/
</code></pre>

<h3>Chrome:</h3>

<p><code>SyntaxError: Unexpected identifier</code>.</p>

<p>Why is this error showing up? How do I fix it?</p>
