- Eloquent JavaScript is an "interactive tutorial" that embeds an editor directly into its pages, enabling you to test and experiment with its many examples.
- Learning Advanced JavaScript provides a series of examples intended to enable the learner to understand Prototype.js's
.bind
method. Examples can be edited to allow the reader to experiment with them.
Admittedly, neither of these options actually provide an answer to the question, as they are not really "exercises" so much as interactive tutorials. But they may be of some value nonetheless.