title: convert an Array, converted to a String, back to an Array JavaScript Error
body: <p>I have this object :</p>
  
  <pre><code>let startCourseData = {
      'slidesHistory': '[{ id: 1, difficulty: 4, performance: 100, guided_phrases: [], sequence: "A", plan: false, planned: 10 },{ id: 2, difficulty: 4, performance: 30, guided_phrases: [], sequence: "A", plan: false, planned: 0 },{ id: 3, difficulty: 4, performance: 60, guided_phrases: [], sequence: "A", plan: false, planned: 6 },{ id: 4, difficulty: 4, performance: 80, guided_phrases: [], sequence: "B", plan: false, planned: 5 },{ id: 5, difficulty: 4, performance: 80, guided_phrases: [], sequence: "B", plan: false, planned: 6 },{ id: 6, difficulty: 4, performance: 82, guided_phrases: [], sequence: "A", plan: false, planned: 10 },{ id: 7, difficulty: 4, performance: 90, guided_phrases: [], sequence: "C", plan: false, planned: 9 },{ id: 8, difficulty: 4, performance: 90, guided_phrases: [], sequence: "C", plan: false, planned: 8 },{ id: 9, difficulty: 4, performance: 90, guided_phrases: [], sequence: "B", plan: false, planned: 5 },];'
  };
  </code></pre>
  
  <p>And I want to convert <code>slidesHistory</code> that is a string to an array so I used JSON.parse like this:</p>
  
  <pre><code>const slidesHistorys = JSON.parse(startCourseData.slidesHistory);
  console.log(slidesHistorys);
  </code></pre>
  
  <p>But I get an error! </p>
  
  <blockquote>
    <p>Uncaught SyntaxError: Unexpected token i in JSON at position 3</p>
  </blockquote>
  
  <p>How can I fix this?</p>