Welcome to Part II of this book! In the next four hours, you will learn some specific scripting features and techniques that you will frequently use in JavaScript programs.
During this hour, you will focus on variables, expressions and functions. Hour 5 covers the following topics:
Declaring and calling functions
Returning values from functions
Naming and declaring variables
Choosing whether to use local or global variables
Assigning values to variables
How to convert between different data types
Using variables and literals in expressions
Using variables to store data entered by the user