+ 3

Python to JavaScript

What is the JavaScript equivalent to this code? word = input("Word: ") print(word) for letter in word: print(letter) print(word)

1st Feb 2022, 2:38 PM
Jory
5 Answers
+ 3
Jory let word = prompt("word: "); console.log(word); for(let letter of word){ console.log(letter); } console.log(word);
2nd Feb 2022, 10:37 AM
Maxwell D. Dorliea
Maxwell D. Dorliea - avatar
0
Try to code yourself
1st Feb 2022, 3:06 PM
Abu Habban
Abu Habban - avatar
0
Instead of learning python learn JavaScript
1st Feb 2022, 3:37 PM
AÍąJ
AÍąJ - avatar