Console
Functions
If the assertion is false, the message is written to the console. Supports string substitution.
Logs the number of times that this particular call to count() has been called. Returns the label passed along with the current count.
Resets the counter used with Console.count(). Returns the label passed along with the current count.
Outputs a message to the Web Console at the "debug" log level. The message is only displayed to the user if the console is configured to display debug output. Supports string substitution.
Displays an interactive list of the properties of the generated JavaScript object.
Displays an interactive tree of the descendant elements of the specified XML/HTML element.
Outputs an error message to the Web Console. Supports string substitution.
Creates a new inline group in the Web Console log. The new group is created collapsed.
Exits the current inline group in the Web Console.
Outputs an informational message to the Web Console. Supports string substitution.
Outputs a message to the Web Console. Supports string substitution.
Console.log("Hello ", ["World", "!"]) => "Hello World!"
Logs the current value of a timer that was previously started.
Outputs a stack trace to the Web Console. Does not support string substitution.