Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 260 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 260 Bytes

Boolean

A JavaScript Boolean represents one of two values: true or false.

var equalsHeads = false; 

if (equalsHeads === true)
{
    console.log("coin is heads"); 
} 

else if (equalsHeads === false)
{
    console.log("coin is tails"); 
}