“Brief” Guide to JavaScript – Part 2 | Blog of Jeff

Branching (Conditionals)

Majority of the time we want some logic in our code to figure out things to do. We don’t want to attempt to hammer a nail if we don’t have a hammer. Conditionals allows our programs to make decisions based the validity of a certain conditions.

Part 2 of my javascript guide.

Posted via web from Jeff Hui | Comment »