Control Flow in JavaScript: If, Else, and Switch Explained