11. Review unexpected token


I keep getting a syntaxError: Unexpected Token. Any ideas?

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>


var javaScript = function();
// Write your code below!
for (var javaScript = 0; javaScript < 10; javaScript++) {
console.log(“Awesome!” + javaScript + “out of 10 is great!”);
var keepGoing = true;
while (keepGoing) {
console.log(“Let’s keep practicing”);
keepGoing = false;
do {
console.log(“If you aren’t getting it, keep practicing!”)

<do not remove the three backticks above>Continuing the discussion from [11.Review: Browser Crashing For Simple Code](https://discuss.codecademy.com/t/11-review-browser-crashing-for-simple-code/35907):


Remember, do's go before while's.

I did this, try it:

var lol = true;
do {
    lol = false;
} while (lol);