Okay, so maybe I was expecting too much, but this book lost points on many fronts.
At first, I thought that maybe this book could be classified as a beginner's book... but then I got to thinking. Why teach beginners bad practices from the start? Why not introduce a bit of real-world complexity from the beginning and provide solutions and the pros and cons for each, with pointers towards resources that might encourage research?
I think we can provide better learning tools for those wanting to make games on the web. It's a great time to be a JS developer, but this book hides almost all of it.