Hour 6. Using Functions and Objects
What You'll Learn in This Hour:
|
In this hour, you'll learn about two more key JavaScript concepts that you'll use throughout the rest of this book. First, you'll learn the details of using functions, which enable you to group any number of statements into a block. This is useful for repeating sections of code, and you can also create functions that accept parameters and return values for later use.
Whereas functions enable you to group sections of code, objects enable you to group datayou can use them to combine related data items and functions for working with the data.
|