JavaScript Boolean Data Type with Example

JS Boolean Data Type

JavaScript Boolean dat type returns values either in true or false, and it is use to perform logically operator to determine condition/expression is true.

Example:

Result:

Demo: JavaScript Boolean


Read Also: