An O'Reilly Book Learning PHP, MySQL & JavaScript
1st Edition By Robin Nixon (O'Reilly 2009, ISBN 978-0596157135)

About | Buy Paperback / Kindle | 1st Edition Examples | Errata | Editions: 1st 2nd 3rd 4th

Chapter: 1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 E

Click here for the latest edition

Chapter 15: Expressions and Control Flow in JavaScript

This chapter looks at how to construct complex expressions in JavaScript and how to control the program flow of your scripts using conditional statements.

Example: 1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21