This is code I played with as I read and worked the examples in this book.
Primary LanguageJavaScript