I\'m porting a Hangman game to Android and have met a few problems. The original Java program used the console, so now I have to somehow beautify the output so that it fits
I used join() function like:
i=new Array("Hi", "Hello", "Cheers", "Greetings"); i=i.join("");
Which Prints: HiHelloCheersGreetings
HiHelloCheersGreetings
See more: Javascript Join - Use Join to Make an Array into a String in Javascript