Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 282 Bytes

logical-operators.md

File metadata and controls

17 lines (10 loc) · 282 Bytes

Logical operators

if(43>5 && 18>9){
  console.log("both conditions should be true")
}

!4 //makes expression false

4 || Na // if first value is true it is the result

7 && LA // ReferenceError: LA is not defined

Ld || 5 // ReferenceError: Ld is not defined