Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
for... if vs switch
Why doesnĀ“t the switch block work? The for.. if block works fine. They should do the same thing.. right? https://code.sololearn.com/WI3gx5HM63Op/#js
2 Respostas
+ 2
You still need your for loop. It should be
for(word of storyWords ){
switch (word) {
.....
}
}
+ 1
Worked. Thank you!