chapter 6 review - objects

It's just there so that when people run the code, they won't be left with a broken environment. I'll add a comment to the snippet.