Code-Samples/javascript/32_2_JavaScript_Boolean.html It is not necessary to use Boolean() function an expression always returns True / False based on expression or variable.