title: Converting text to singular Ascii number in Javascript
body: <p>I want to convert the text "Hello world" to a single Ascii number. Obviously my code below is just going to alert each Ascii value individually, but I want them be alerted all side by side like: 72 101 108 108 111 32 119 111 114 108 100</p>
  
  <pre><code>var input = "Hello world"
  
  var arr = input.split('')
  
  for(var i =0; i &lt; input.length; i++)
  {
      var number = arr[i].charCodeAt(0);
      alert(number)
  }
  </code></pre>