Click on the “QCon” tab to open the Quick Console.
Quick Console is meant as a remedy for the claustrophobia inducing consoles that come with browsers. Here you will find plenty of space to inspect variables and evaluate simple expressions.
Line 1: Simply type in a variable’s name and hit enter to reveal the value.
Line 2: The variable can be an array or object, or even a property of an object.
Line 6: A simple assigment. Successful execution will be acknowldged with the word, “Fine”.
Line 8: Now type in “x” to see its value. Or add “return x” to the previous line after a semicolon.
Line 9: To inspect a jQuery object and/or its properties use the keyword “return” to start the statement.
Line 11: To see the return value of a function, also call the function with the keyword “return”.
Note: Quick Console returns the string “undefined” for undefined objects and variables.