title: Updating localstorage arrays in Javascript
body: <p>I'm trying to store and update an array in the localstorage using JSON.parse/stringify. But it doesn't seem to be working.</p>
  
  <pre><code>    yesArray = JSON.parse(localStorage.getItem(yesArray));
      yesArray.push("yes");
      localStorage.setItem("yesArray", JSON.stringify(yesArray));
  </code></pre>
  
  <p>Am I all wrong with this?</p>