O'Reilly logo

JavaScript™ for Programmers: Deitel by Harvey M. Deitel - Deitel & Associates, Inc., Paul J. Deitel - Deitel & Associates, Inc.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7. JavaScript: Functions

OBJECTIVES

In this chapter you’ll learn:

• How to create new functions.

• How to pass information between functions.

• Simulation techniques that use random number generation.

• How the visibility of identifiers is limited to specific regions of programs.

• To use JavaScript’s global functions.

• To use recursive functions.

• To compare recursion vs. iteration.

Form ever follows function.Louis Sullivan

E pluribus unum. (One composed of many.)Virgil

O! call back yesterday, bid time return.William Shakespeare

Call me Ishmael.Herman Melville

When you call me that, smile.Owen Wister

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required