Images

Controlling Program Flow

image

         To view the accompanying video for this lesson, please visit mhprofessional.com/nixonjavascript/.

Having reached this point in the book, you’ve actually already learned the vast majority of JavaScript. You should understand how to incorporate it into a web page; the syntax to use; handling numeric variables, strings, and arrays; using operators in expressions according to their associativity; and you’ve even learned the basics of handling program flow control using the if() and else keywords.

In this lesson you ...

Get JavaScript: 20 Lessons to Successful Web Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.