Practice Tracing Code
Trace the code in the script from the top down on scratch paper.
The objective is to figure out what the variables contain after the script is done executing.
See if your answers match what the document.write()
statement shows in a Web browser.