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

Chapter 6. Statements > Expression Statements

6.1. Expression Statements

The simplest kinds of statements in JavaScript are expressions that have side effects. We've seen this sort of statement in Chapter 5. Assignment statements are one major category of expression statements. For example:

s = "Hello " + name;
i *= 3;


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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