0
It doesn't output what I expect :/
What can I do to output this? aaa aab aac aba abb ... ccc I've tried using a switch statement, but it just gives me: aaa And then stops. https://code.sololearn.com/WPtmz0OTXjT3/?ref=app
1 Réponse
+ 8
Looks ok to me, you just need to print the char this might help
alert(String.fromCharCode(firstLetter+96) + "" +
String.fromCharCode(secondLetter+96) + "" +
String.fromCharCode(thirdLetter+96));