From a41a141613cc4517ff749790c9fd8ee3d4cf3e92 Mon Sep 17 00:00:00 2001 From: Ian Witham Date: Sun, 9 Jul 2017 12:16:45 +1200 Subject: [PATCH] Grammar fix --- 1-js/02-first-steps/10-ifelse/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/10-ifelse/article.md b/1-js/02-first-steps/10-ifelse/article.md index 37fb0ad0..d0a3b5e6 100644 --- a/1-js/02-first-steps/10-ifelse/article.md +++ b/1-js/02-first-steps/10-ifelse/article.md @@ -126,7 +126,7 @@ if (age > 18) { alert(accessAllowed); ``` -The so-called "ternary" or "question mark" operator allows to do that shorter and simpler. +The so-called "ternary" or "question mark" operator lets us do that shorter and simpler. The operator is represented by a question mark `"?"`. The formal term "ternary" means that the operator has 3 operands. It is actually the one and only operator in JavaScript which has that many.