Javascript – How do I account for the spaces in the code?
I am solving this code wars kata problem that requires me to return a string in a weird case such that the first letter is in uppercase and the next is in lowercase and so on. Here is the link…