Return Number in Words Using JavaScript
One of the answers I’ve submitted on CodeWars that gets a lot of comments is in response to this prompt: When provided with a number between 0-9, return it in words. Input :: 1 Output :: “One”. If your language supports it, try using a switch statement. The solution I’ve posted (which is very similar … Read more