java-script:double-not-operator
Differences
This shows you the differences between two versions of the page.
java-script:double-not-operator [2023/08/10 04:04] – created odefta | java-script:double-not-operator [2023/08/10 04:13] (current) – odefta | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== !! (Double not operator) ====== | + | ====== !! Double not operator ====== |
The double NOT operator (!!) in JavaScript is a bit of a trick that converts any value to its corresponding boolean value.\\ | The double NOT operator (!!) in JavaScript is a bit of a trick that converts any value to its corresponding boolean value.\\ |
java-script/double-not-operator.1691629455.txt.gz · Last modified: 2023/08/10 04:04 by odefta