title: How can I use backslashes (\) in a string?
body: <p>I tried many ways to get a <strong><em>single backslash</em></strong> from an <strong>executed</strong> (I don't mean an input from <code>html</code>).  </p>
  
  <p>I can get <em>special characters</em> as tab, new line and many others then escape them to <code>\\t</code> or <code>\\n</code> or <code>\\(someother character)</code> but I cannot get a single backslash when a <em>non-special character</em> is next to it.  </p>
  
  <p>I don't want something like:</p>
  
  <pre><code>str = "\apple";   // I want this, to return:
  console.log(str); // \apple
  </code></pre>
  
  <p>and if I try to get character at 0 then I get <code>a</code> instead of <code>\</code>.</p>