What will the following code return:Boolean(x!=="5") if x=5?
Boolean Values Very often, in programming, you will require a data type that can only have one of two values, like
The Boolean() Function to find out if a variable or an expression is true,
Boolean(10 > 9)// returns true
Or even easier,
(10 > 9) // also returns true 10 > 9 // also returns true