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

11.4. Variables

Variables are declared, and optionally initialized, with the var statement:

var i;
var j = 1+2+3;
var k,l,m,n;
var x = 3, message = 'hello world';


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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