+ 5

Using pure JavaScript

Hi, can you help me to improve and simplify this code..or any ideas of what to add next? https://code.sololearn.com/W4U62QEFDvJu/?ref=app

13th Jan 2020, 10:34 PM
Moree
Moree - avatar
3 Answers
+ 4
Have you read Morpheus's explanation in the quiz I linked above?
16th Jan 2020, 12:26 AM
Gordon
Gordon - avatar
+ 2
15th Jan 2020, 1:37 PM
Gordon
Gordon - avatar
+ 1
Thanks a lot but.. Do you mean that I don't need to define the variable inside the for loop? Gordon
15th Jan 2020, 10:02 PM
Moree
Moree - avatar