title: Escaping single quote and double quote in JavaScript
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/10055773/double-quote-in-javascript-string">Double quote in JavaScript string</a>  </p>
  </blockquote>
  
  
  
  <pre><code>var array=["famous quote by Shakespear is",""to be or not to be""]
  </code></pre>
  
  <p>How do I escape the blockquote in the second element of the array which uses <code>"</code> for delimiting elements?</p>