Chapter 3: Language Essentials

Return to Chapter 3

 

To use this script on your own page, click in the text area below, select all, and copy to grab the script. Then, just paste into your own page — and you're done.

Passing a Value to a Function

See it run: Passing a Value to a Function

Script 3.4

The JavaScript in this file passes a value to a function.