January 2001
Beginner
312 pages
6h 4m
English
So far, your JavaScript code has consisted of a statement or a group of statements that are all run sequentially from top to bottom. This is great for simple scripts, but in most cases you don't want all your JavaScript to run when the page loads. You might want only a few statements to run at the beginning and then a few more at some other point in time. This is where functions come into their own.
This chapter teaches you about the following:
Read now
Unlock full access