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

Quiz

Test your knowledge of JavaScript loops by answering the following questions.

Questions

  1. Within a loop, what does the break statement do?

    1. Breaks the user's computer.

    2. Starts the loop over.

    3. Escapes the loop entirely.

  2. The statement while (3==3) is an example of:

    1. A typographical error.

    2. An infinite loop.

    3. An illegal JavaScript statement.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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