Demo: lang.extend

View source. The result is in the console.