title: How to write a quoted text in a variable of type string?
body: <p>I need to write a text that has quotation marks in a variable. The problem is that this text is only recorded when I remove them. I want all characters (including quotation marks) to be interpreted as being a common string.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
          function txt(){
              var a = "  "text1" text2  "text3" ";
          }
      &lt;/script&gt;
  </code></pre>