From f6115bf2dbb305db5917846fb4a987abe1980992 Mon Sep 17 00:00:00 2001 From: MarekStocki <33398993+MarekStocki@users.noreply.github.com> Date: Thu, 4 Oct 2018 13:44:07 +0200 Subject: [PATCH] `!` is a *logical* not, not a bitwise not --- 1-js/02-first-steps/11-logical-operators/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/11-logical-operators/article.md b/1-js/02-first-steps/11-logical-operators/article.md index d2431494..c69e3ccd 100644 --- a/1-js/02-first-steps/11-logical-operators/article.md +++ b/1-js/02-first-steps/11-logical-operators/article.md @@ -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 `&&`, `||`.