Examples From JavaScript: The Definitive Guide, Fourth Edition This directory contains the source code for all the numbered examples in the 4th edition of JavaScript: The Definitive Guide. The file name indicates the chapter and example number, and the extension indicates the example type. An example with a .html extension contains HTML tags and can be run and displayed in a web browser. An example with a .js extension is a file that contains JavaScript code only, without HTML