When I declare a variable in this exercise, I noticed that I didn't need to use the keyword 'var'. Why is that? Is that only a Codecademy feature or is that universal outside of this website?
For example, this while loop still runs even though x = 5 does not have a 'var' in front of it.
x = 5; <--no 'var' here!
x = 0;
and even in the Introduction to 'While' Loops in JS lesson, Section 3. A fellow of infinite loops, I found in this exercise:
understand = true; <-- no 'var' here!
console.log("I'm learning while loops!");
//Change the value of 'understand' here!
understand = false;