Welcome to the home of Thing 1.
This example is fun and quicklys shows some of the power of Javascript. However, also be careful. It is probably a better trick than it is a useful practice. There are generally much better ways to do redirection.
May small things remind us of Theodor Seuss Geisel's many talents.