Don’t forget to subscribe to the Junior Developer Central channel for more videos and tutorials!
These include using the console.warn() function, the console.info() function, and console.error() function.
The console.info() function is basically a replica of the console.log() function but it can be useful to use in your code to differentiate between warnings, errors, and informative messages.
Finally the console.error() function can be used to create a message which stands out in the console and is predominantly used to notify other developers or users that something went wrong and needs fixing.
As a final way to print to the console, you will learn about the console.table() function which is a handy way to format arrays and objects on the console for debugging purposes.