November 2011
Beginner
992 pages
38h
English
E pluribus unum. (One composed of many.)
—Virgil
Call me Ishmael.
—Herman Melville
When you call me that, smile.
—Owen Wister
O! call back yesterday, bid time return.
—William Shakespeare
Objectives
In this chapter you will:
• Construct programs modularly from small pieces called functions.
• Define new functions.
• Pass information between functions.
• Use simulation techniques based on random number generation.
• Use the new HTML5 audio and video elements
• Use additional global methods.
• See how the visibility of identifiers is limited to specific regions of programs.
Outline
9.2 Program Modules in JavaScript
Read now
Unlock full access