Message from JavaScript discussions

December 2020

— But that really looks like an assignment designed to be for your level


Well you're supposed to use a loop,,,and it should contain the "break ",,,,it's testing my understanding of loops

— Oh ok

— I recommend a while loop here

— How now?

— As I said, it's a test, it should be your level

— My while loop gave me the same result as the for loop above

— Show it

— OK,,,,gimme a minute I screenshot

— Loops are not really well suited for this task

— Or well. while should do the trick. but no for

— Best emoji suggestion