The ! is the boolean NOT operator.
NOT (!): toggles a statement from true to false or from false to true.
!0 = true
!1 = false
This is a brilliant introduction to boolean operators and their use in javascript.
The ! is the boolean NOT operator.
NOT (!): toggles a statement from true to false or from false to true.
!0 = true
!1 = false
This is a brilliant introduction to boolean operators and their use in javascript.