You do not want this book. Both the examples chosen and the style of programming used are ... nothing you want to emulate.In partial defense of the author, most (practically all) Javascript books are pretty awful, and at the time this book was written, there were few or no better examples.I was looking as an exercise to offer well-written rewrites of older poorly written examples. After scanning through my copy, realized that even the examples were not worth redeeming.The best Javascript book I have found so far is:JavaScript: The Definitive Guide(even in this book the examples are not often less than excellent.)