Exercises and notes from the book Eloquent JavaScript