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

Chapter 18. Introduction to JavaScripting > Programming with JavaScript

Programming with JavaScript

JavaScript has a lot to offer page authors. It is not as flexible as C or C++, but it is quick and simple. Most importantly, it's easily embedded in your Web pages; thus, you can maximize their impact with a little JavaScript seasoning. This section covers the gritty details of JavaScript programming and includes a detailed explanation of the language's features.

Expressions

An expression is anything that can be evaluated to get a single value. Expressions can contain string or numeric literals, variables, operators, and other expressions, and they can range from simple to quite complex. The following are examples of expressions that use the assignment operator (more on operators in the next section) to assign numeric or string values to variables:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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