From b1b9014b52512542f7bdc04e70d49eea44e3ab5e Mon Sep 17 00:00:00 2001 From: joaquin fox Date: Mon, 29 Oct 2018 12:20:29 -0700 Subject: [PATCH] Grammatical edit (#19906) --- guide/english/javascript/booleans/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/english/javascript/booleans/index.md b/guide/english/javascript/booleans/index.md index de6cf8936f..2df9d56617 100644 --- a/guide/english/javascript/booleans/index.md +++ b/guide/english/javascript/booleans/index.md @@ -49,7 +49,7 @@ console.log(c && a); // 'word' ``` As you can see, the *or* operator checks the first operand. If this is true or truthy, it returns it immediately (which is why we get 'word' in the first case & true in the second case). If it is not true or truthy, it returns the second operand (which is why we get 'word' in the third case). -With the and operator it works in a similar way, but for 'and' to be true, both operands need to be truthy. So it will always return the second operand if both are true/truthy, otherwise it will return false. That is why in the fourth case we get true and in the last case we get 'word'. +The *and* operator works in a similar way, but for 'and' to be true, both operands need to be truthy. So it will always return the second operand if both are true/truthy, otherwise it will return false. That is why in the fourth case we get true and in the last case we get 'word'. ## The Boolean Object