title: Newline in alert javascript
body: <p>I want to add a newline in alert message in javascript.</p>
  
  <pre><code>var al = $("#txt_noIncorrect").val().toString(); 
  
  console.log(al);  // al='Incorrect amount!\nFor decimals, use point instead of virgule.'; 
  
  alert(al);
  
  
  
  alert('Incorrect amount!\nFor decimals, use point instead of virgule.')
  </code></pre>
  
  <p>First alert:
         <img src="https://i.stack.imgur.com/ou524.png" alt="enter image description here"></p>
  
  <p>Second alert:
        <img src="https://i.stack.imgur.com/xqSl9.png" alt="enter image description here"></p>
  
  <p>Why first alert does not put the newline?</p>