title: quotation mark inside variable
body: <p>i'm trying to do very simple thing:<br>
  store quotation mark (<code>"</code> or <code>'</code>) inside variable <strong>on javascript event</strong> <br>(for example: onerror (img element))
  <br>
  my code:
  <br></p>
  
  <pre><code>&lt;img onerror="var m ='"';  document.write(m);"&gt;
  </code></pre>
  
  <p>or:</p>
  
  <pre><code>&lt;img onerror='var m = "'";  document.write(m);'&gt;
  </code></pre>
  
  <p><br>
  I do not need to explain why this code does not work(the attribute)...
  <br>
  (onerror=<code>"</code>var m ='<code>"</code>'; document.write(m);<code>"</code>>)
  <br>
  <br></p>
  
  <p><strong>note</strong>: i can't use <code>charAt</code> or <code>fromcharcode</code> i'm trying to do it without any function (<strong>alternatives</strong>).
  <br></p>