• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part II: Learning JavaScript Basics > Using Variables and Functions

Hour 5. Using Variables and Functions

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


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint