From 60cb38dd82f6ed980b96bbd540fa91f31c58a6bc Mon Sep 17 00:00:00 2001 From: jeff-wolff Date: Sun, 2 Jul 2017 17:25:46 -0700 Subject: [PATCH] maintain consistency in example --- 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 89dce435..37fb0ad0 100644 --- a/1-js/02-first-steps/10-ifelse/article.md +++ b/1-js/02-first-steps/10-ifelse/article.md @@ -143,7 +143,7 @@ For example: let accessAllowed = (age > 18) ? true : false; ``` -Technically, we can omit parentheses around `age > 14`. The question mark operator has a low precedence. It executes after the comparison `>`, so that'll do the same: +Technically, we can omit parentheses around `age > 18`. The question mark operator has a low precedence. It executes after the comparison `>`, so that'll do the same: ```js // the comparison operator "age > 18" executes first anyway