Use the JavaScript console to evaluate expressions, get HTML DOM, assign values to variables, test comparison operators, and perform math operations. When a JavaScript error condition is encountered in the web browser, the detailed information of script error will be recorded into script console. Use the console, you can locate the error line of source code which causes the error. In addition to using command line to evaluate one-line JavaScript code, you can use the "Run Script" dialog to execute multi-line script at one time.
The script console page is shown below.