I started over on game while logged out to practice and review. I don’t remember seeing various options for writing the While loops in JS, but I could have missed it with all of the new info on first round. However, I tried one of the other versions, as listed here on the instructions screen, and am receiving an error. Have I input it wrong based on the instructions, or are the two other examples for Python and CoffeeScript? I know the first listed method in attached picture works, as I’ve used it throughout first runs while in logged-in game.
Thanks for help. Here’s sample of code utilizing the third version of the listed possible syntax from instructions screen.
while(true, moveRight(2); moveDown(); )