In this video, we go over
console.info. The truth is, there's no real difference between
console.info. There are semantic differences, but no practical differences.
Generally, I use
console.log for debugging purposes. But if I need to print a message to the console for an end user then I would use
console.info. Everything that we practiced with
console.log applies here as well.
For the exercise for this course, you will:
- Print your favorite dessert
- Print a message with your favorite flavor of ice cream coming from a variable
- Print an object with two attributes: dessert ('ice cream sundae’) and an array of toppings