title: Convert numbers (1-1000) to words in console log using Javascript
body: <p>So I was able to convert #1 - 9 into words using Javascript in console log. 
  How can I get my code to show the remaining numbers, which would be 10-1000?</p>
  
  <pre><code>function numbersToWords(value) {
          let input = String(value).split('');
          let mapData = {
              "0": "Zero",
              "1": "One",
              "2": "Two",
              "3": "Three",
              "4": "Four",
              "5": "Five",
              "6": "Six",
              "7": "Seven",
              "8": "Eight",
              "9": "Nine",
          };
  
          let output = '';
          var tempArray = []
          for (let i = 0; i &lt; input.length; i++) {
              tempArray.push(mapData[input[i]])
          }
          output = tempArray.join(' ');
          return output;
      }
  
      console.log(numbersToWords(123456789));
  </code></pre>