Messages to print.
No return value.
console.dir() displays the properties and methods of a JavaScript object as a list, making it easier to inspect its structure and nested properties.
JavaScript object.
No return value.
console.error() prints an error message in red with an error icon. Use it for critical issues requiring immediate attention. Multiple arguments can be displayed on one line.
Messages to print.
No return value.
console.info() prints an informational message in green with an info icon. It is similar to console.log(), but intended for informational output. Multiple arguments can be displayed on one line.
Messages to print.
No return value.
console.log() prints a message in gray with a bug icon. Multiple arguments can be displayed on one line.
Messages to print.
No return value.
console.warn() prints a warning in yellow with a warn icon. Use it for potential problems that are not critical but should be addressed. Multiple arguments can be displayed on one line.
Messages to print.
No return value.
console.debug() prints a highlighted message in purple. Use it for debugging and highlighting important messages. Multiple arguments can be displayed on one line.