/

HTML / CSS / JavaScript Tutorial

JavaScript Operator: logical NOT

[this page | pdf | back links]

In JavaScript, the ! operator is the logical (i.e. Boolean) NOT operator:

 

x

!x

true

false

false

true

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript Operators


Desktop view | Switch to Mobile