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

Chapter 6. Statements > Types of Statements

6.1. Types of Statements

Conceptually speaking, there are five core types of statements:


Statements that control the execution flow of a program

loops
conditionals
ifFrameLoaded

Statements that declare variables

var
set

Statements that declare, call, and return values from functions

function
function call
return

Statements that deal with objects

with
for . . . in

Statements that represent a data value

any expression (especially expressions with side effects)

PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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