The example code from <JavaScript The Definitive Guide>.