Menu
Coddy logo textTech

Recap - Simple Logic

Part of the Fundamentals section of Coddy's JavaScript journey. Lesson 20 of 77.

challenge icon

Challenge

Beginner

You are given a code, change the values of the variables b1, b2  and b3 so that b4 will hold True.

Try it yourself

// Change the three values below so the combined condition holds
let b1 = false
let b2 = false
let b3 = true

// Don't change the line below
let b4 = b1 && b2 && (!b3)
console.log(`b4 = ${b4}`)

All lessons in Fundamentals

Practice on your own: Online JavaScript compiler