Extending Built-in Objects in JavaScript

Take your existing built-in objects and kick them up a few notches by learning how to extend them.
This is a companion discussion topic for the original entry at http://www.kirupa.com/html5/extending_built_in_objects_javascript.htm