In this section we'll learn how to group related messages to the console using
console.group. Each group can have an optional name, which you pass in to the
group function. Everything that you log to the console after the
console.group and before
console.groupEnd will be added to the group. End the group with
For the exercise for this section:
- Start a new group in the console and call it "Pizza Party"
- Log the message "I'm having a pizza party"
- Print a table of friends that are coming to the party
- End the group