Code samples for my Ninja training, while reading "The secrets of the JavaScript Ninja" by John Resig.