Once in Console, you can type in any JS code and it’ll execute right there and give you the result at the same time. For example, type in the following code:
a = 5
b = 6
This will print the values of a and b on screen. You can also write multiline code using shift+enter or just by copy pasting code in there. For example:
for (i=0; i<10; i++)
This will print out numbers from 0 to 9. The best part about this process is you can do this inside your browser while watching a tutorial on YouTube!
That’s all in this post. Going to write another post now! 🙂