Listing 5-1. The Initial Contents of the jsdemo.html File
Listing 5-3. Using JavaScript Statements in the jsdemo.html File
Listing 5-4. Defining a JavaScript Function in the jsdemo.html File
Listing 5-5. Defining Functions with Parameters in the jsdemo.html File
Listing 5-6. Returning a Result from a Function in the jsdemo.html File
Listing 5-7. Detecting Functions in the jsdemo.html File in the jsdemo.html File
Listing 5-12. Defining number Values in the jsdemo.html File
Listing 5-13. Creating an Object in the jsdemo.html File
Listing 5-14. Using the Object Literal Format in the jsdemo.html File
Listing 5-15. Adding Methods to an Object in the jsdemo.html File
Listing 5-16. Extending Objects in the jsdemo.html File