title: unexpected token: numeric literal
body: <p>I'm trying to get firebase data and create table.But I get error "numeric literal".I already check other topics.How can I change my key names "0,1,2" if reason of this.</p>
  
  <p>Here is my firebase structure.</p>
  
  <p><a href="https://postimg.cc/nsHsfQVN" rel="nofollow noreferrer"><img src="https://i.postimg.cc/BvF2DxrZ/Screenshot-2019-01-15-Volkan-Database-Firebase-console.png" alt="Screenshot-2019-01-15-Volkan-Database-Firebase-console.png"></a></p>
  
  <p>This my work scheme.If you may need some more info.</p>
  
  <p><a href="https://postimg.cc/w7YHyYKk" rel="nofollow noreferrer"><img src="https://i.postimg.cc/yYkNG7v2/workscheme.png" alt="workscheme.png"></a></p>
  
  <p>1 There is no problem there.Only issue it's display 0,1,2 to keys.</p>
  
  <pre><code>var table = document.getElementById("trade-history-follower"),
      cells = [2,3,4],
      row = 0,
      result = [];
  
  while (table.rows[row]) {
      result.push(cells.map(cell =&gt; table.rows[row].cells[cell].innerText));
      row++;
  }
  
  
  
  
  var saveData = (function () {
      var a = document.createElement("a");
      document.body.appendChild(a);
      a.style = "display: none";
      return function (data, fileName) {
          var json = JSON.stringify(data),
              blob = new Blob([json], {type: "octet/stream"}),
              url = window.URL.createObjectURL(blob);
          a.href = url;
          a.download = fileName;
          a.click();
          window.URL.revokeObjectURL(url);
      };
  }());
  
  var data = new_jsonstr;
  fileName = "dom.json";
  
  saveData(data, fileName);
  </code></pre>
  
  <p>2 Firebase</p>
  
  <pre><code>$(document).ready(function() {
          $.getJSON( "http://olayufku.info/dom.json", function( data ) {
              var database = firebase.database();
              database.ref('orders').set(data);
          });
      });
  </code></pre>
  
  <p>3 Get from Firebase</p>
  
  <pre><code>&lt;html&gt;
  
    &lt;head&gt;
        &lt;title&gt;FIREBASE&lt;/title&gt;
        &lt;meta charset="utf-8"&gt;
    &lt;/head&gt;
  
    &lt;body&gt;
  
      &lt;table style="width:100%" id="ex-table"&gt;
          &lt;tr id="tr"&gt;
              &lt;th&gt;value0&lt;/th&gt;
              &lt;th&gt;value1:&lt;/th&gt;
              &lt;th&gt;value2:&lt;/th&gt;
  
      &lt;/table&gt;
  
      &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"&gt;&lt;/script&gt;
  
      &lt;script src="https://www.gstatic.com/firebasejs/4.7.0/firebase.js"&gt;
      &lt;/script&gt;
      &lt;script&gt;
          // Initialize Firebase 
          var config = {
              apiKey: "....-vHIvQVk",
              authDomain: "......firebaseapp.com",
              databaseURL: "https://...firebaseio.com",
              projectId: "....",
              storageBucket: "",
              messagingSenderId: "......"
          };
          firebase.initializeApp(config);
  
          var database = firebase.database();
          database.ref("orders").once('value', function (snapshot) {
              if (snapshot.exists()) {
                  var content = '';
                  snapshot.forEach(function (data) {
                      var val = data.val();
                      content += '&lt;tr&gt;';
                      content += '&lt;td&gt;' + val.0 + '&lt;/td&gt;';
                      content += '&lt;td&gt;' + val.1 + '&lt;/td&gt;';
                      content += '&lt;td&gt;' + val.2 + '&lt;/td&gt;';
                      content += '&lt;/tr&gt;';
                  });
                  $('#ex-table').append(content);
              }
          });
  
      &lt;/script&gt;
  
    &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>