Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
cs0110-3.3-branch-javascript.js
if ( weatherIsSunny && ! weatherIsRaining && ! isWorking ) {
console.log( "Going to the festival" );
} else if ( movieIsPlaying ) {
console.log( "Going to the movies" );
} else {
console.log( "Staying home" );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment