Control Flow in javascript

Control flow structures like if/else, switch, and the conditional (ternary) operator let you branch logic. Combine them with loops and functions to express complex program behavior.