title: Uncaught SyntaxError: Unexpected identifier in empty line?
body: <p>I am getting a syntax error in line 40... I have no clue why, this script only works with all of the other files aswell (too many, cant upload). It is not the best or prettiest but please give it a try.</p>
  
  <p>ERROR: </p>
  
  <blockquote>
    <p>Uncaught SyntaxError: Unexpected identifier</p>
  </blockquote>
  
  <pre><code>&lt;?php
  session_start();
  ?&gt;
  
  &lt;!DOCTYPE html&gt;
  
  &lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;SCRABBLEGOD&lt;/title&gt;
      &lt;script src='https://cdn.rawgit.com/naptha/tesseract.js/1.0.10/dist/tesseract.js'&gt;&lt;/script&gt;
      &lt;link rel="shortcut icon" type="image/png" href="favicon.png"/&gt; 
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;script type="text/javascript"&gt;
  var row0 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  var row1 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  var row2 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  var row3 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  var row4 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  var row5 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  var row6 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  var row7 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  var row8 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  var row9 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  var row10 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  var row11 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  var row12 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  var row13 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  var row14 = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  &lt;/script&gt;
  
  &lt;img id="row0sm0" src=&lt;?php echo "uploads/sm/" . $_SESSION["row0sm0"]; ?&gt;&gt;
  &lt;img id="row0sm1" src=&lt;?php echo "uploads/sm/" . $_SESSION["row0sm1"]; ?&gt;&gt;
  &lt;img id="row0sm3" src=&lt;?php echo "uploads/sm/" . $_SESSION["row0sm3"]; ?&gt;&gt;
  &lt;img id="row1sm0" src=&lt;?php echo "uploads/sm/" . $_SESSION["row1sm0"]; ?&gt;&gt;
  &lt;img id="row2sm0" src=&lt;?php echo "uploads/sm/" . $_SESSION["row2sm0"]; ?&gt;&gt;
  &lt;img id="row3sm6" src=&lt;?php echo "uploads/sm/" . $_SESSION["row3sm6"]; ?&gt;&gt;
  
  &lt;script type="text/javascript"&gt;
  var i;
  var x;
  for (i = 0; i &lt; 15 i++) {
      for (x = 0; x &lt; 15 i++) {
          Tesseract.recognize("row" + i + "sm" + x)
          .then(function(result){
              console.log(result.text);
              document.write(result.text);
          })
      }
  }
  &lt;/script&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>This code is meant for a scrabble bot, I have got the input (OCR from uploaded file) working but unfortunatly I am stuck due to a syntax error which seems to be in an empty line. I inquired that it might be due to the script type that I am using, I tried using type="module" but this did not work either.</p>