Merge pull request #543 from MarekStocki/patch-1
`!` is a *logical* not, not a bitwise not
This commit is contained in:
commit
b6d0c8fd69
1 changed files with 1 additions and 1 deletions
|
@ -300,4 +300,4 @@ alert( Boolean("non-empty string") ); // true
|
|||
alert( Boolean(null) ); // false
|
||||
```
|
||||
|
||||
The precedence of NOT `!` is the highest of all bitwise operators, so it always executes first, before any `&&`, `||`.
|
||||
The precedence of NOT `!` is the highest of all logical operators, so it always executes first, before any `&&`, `||`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue