if (isLoggedIn) { console.log("Welcome!"); } else { console.log("Log in"); }
You can now write code that thinks and chooses paths.Ready to learn about repeating actions with Loops?