title: Escape new lines with JS
body: <p>I have a string that looks something like this:</p>
  
  <pre><code>"Line 1\nLine 2"
  </code></pre>
  
  <p>When I call length on it, though, it's one character short:</p>
  
  <pre><code>"Line 1\nLine 2".length // 13
  </code></pre>
  
  <p>Looking a little closer:</p>
  
  <pre><code>"Line 1\nLine 2".charAt(6)
  </code></pre>
  
  <p>I find that the <code>\n</code> is being replaced by a single character, which looks like:</p>
  
  <pre><code>"
  "
  </code></pre>
  
  <p>Is there a way to escape that new line into a <code>\n</code>?</p>