title: how do I compare textarea enter character
body: <p>When I try to get the character from a textarea text it comes between quotes but when I evaluate him on console it appears like '↵'
  how to compare those values?</p>
  
  <p><a href="https://i.stack.imgur.com/xVeZU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xVeZU.png" alt="variable char"></a></p>
  
  <ol>
  <li>variable evaluated on console   </li>
  <li>comparison with '↵' character  </li>
  <li>how it appears before evaluation</li>
  </ol>