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

Chapter 5. Expressions and Operators > Assignment Operators

5.9. Assignment Operators

As we saw in the discussion of variables in Chapter 4, = is used in JavaScript to assign a value to a variable. For example:

i = 0


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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