JavaScript Fundamentals -- The JavaScript Console + Exercise


In this video, we go over The truth is, there's no real difference between console.log and 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 Everything that we practiced with console.log applies here as well.

For the exercise for this course, you will:

  1. Print your favorite dessert
  2. Print a message with your favorite flavor of ice cream coming from a variable
  3. Print an object with two attributes: dessert ('ice cream sundae’) and an array of toppings

I finished! On to the next chapter