Skip to content

Commit 60cb38d

Browse files
author
jeff-wolff
authored
maintain consistency in example
1 parent 7895f3d commit 60cb38d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/02-first-steps/10-ifelse/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ For example:
143143
let accessAllowed = (age > 18) ? true : false;
144144
```
145145

146-
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:
146+
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:
147147

148148
```js
149149
// the comparison operator "age > 18" executes first anyway

0 commit comments

Comments
 (0)