title: Expected an assignment or function call and instead saw an expression?
body: <p>I keep getting this error:</p>
  
  <blockquote>
    <p>"Expected an assignment or function call and instead saw an expression and instead saw an expression” </p>
  </blockquote>
  
  <p>when trying to use Javascript to append my table.</p>
  
  <p>Can anyone help me rectify this?   </p>
  
  <pre><code>$('#lbUsers tbody').append('&lt;tr&gt;&lt;td&gt;' + row.Number + '&lt;/td&gt;&lt;td&gt; ' + row.Name + '&lt;/td&gt;&lt;td&gt; ' + row.points + '&lt;/td&gt;&lt;td&gt;`' + row.stars + ' &lt;/td&gt;&lt;td&gt;' + row.Type '&lt;/td&gt;&lt;/tr&gt;');
  </code></pre>
  
  <p>Full code:</p>
  
  <pre><code>$('#lbUsers').html('');
  
      db.transaction(function (transaction) {
          transaction.executeSql('SELECT * FROM People;', [],
  
          function (transaction, result) {
              if (result !== null &amp;&amp; result.rows !== null) {
  
                  for (var i = 0; i &lt; result.rows.length; i++) {
                      var row = result.rows.item(i);
                      `$('#lbUsers tbody').append('&lt;tr&gt;&lt;td&gt;' + row.Number + '&lt;/td&gt;&lt;td&gt; ' + row.Name + '&lt;/td&gt;&lt;td&gt; ' + row.points + '&lt;/td&gt;&lt;td&gt;`' + row.stars + ' &lt;/td&gt;&lt;td&gt;' + row.Type '&lt;/td&gt;&lt;/tr&gt;');
                  }
              }
          }, errorHandler);
      }, errorHandler, nullHandler);
  
      return;
  
  }
  </code></pre>
  
  <p>HTML:</p>
  
  <pre><code>&lt;table id="lbUsers"&gt;
    &lt;tbody&gt;
       &lt;th&gt;Number&lt;/th&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Points&lt;/th&gt;&lt;th&gt;Stars&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;
    &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>