Modern browsers have powerful tools to help JavaScript developers. One of them is the console
In Chrome, you can open the console with:
It is then possible to execute simple JavaScript instructions and see the result or to check the current value of a variable.
Enter the following instructions in your console (one by one) and watch what is printed.
var x;
x = 5;
x + 4;
x = x * 6;
x / 3;