title: Uncaught SyntaxError: Unexpected token s in JSON at position 0 at JSON.parse (<anonymous>)
body: <p>I'm trying to create a user-generated table that can be stored and accessed across multiple sessions on the same computer.</p>
  
  <p>However, every time I try to parse the JSON string I stored in localStorage, an error pops up.</p>
  
  <p>I have tried to look up other questions similar to this, but could not find anything that seemed to be the exact problem I am facing.</p>
  
  <pre><code>if (localStorage.length &gt; 0) {
    students = [localStorage.getItem(JSON.parse("students"))];
    addStudentToTable();
  </code></pre>
  
  <p>This is supposed to pull the stored JSON string and convert it back into an object stored in an array, but for some reason, it can not read the JSON string that was stored.</p>