title: Remove found item from array list
body: <p>I am building a random quote generator. I can not figure out how to remove an already shown quote from the array so it does not show up twice when the button is clicked. Any suggestions? Here is the javascript:</p>
  
  <pre><code> var quoteArray = [
          {
              content: "quote 1 goes in here",
              author: "author 1"
          },
          {
              content: "quote 2 goes in here",
              author: "author 2"
          }
          ];
  
      var button = document.getElementById('quote-button'),
          quote = document.getElementById('quote'),
          author = document.getElementById('quote-author'),
          random;
  
  window.onload = randomQuote;
  button.addEventListener('click', randomQuote);
  
  function randomQuote (){
      random = Math.floor(Math.random() * quoteArray.length);
      quote.innerHTML = quoteArray[random].content;
      author.innerHTML = '&amp;mdash; ' + quoteArray[random].author;
  }
  </code></pre>
  
  <p>Thanks in advance!</p>