Skip to content

Commit b160967

Browse files
authored
Merge pull request #83 from IanWitham/patch-3
Grammar fix
2 parents ad4b698 + a41a141 commit b160967

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
@@ -126,7 +126,7 @@ if (age > 18) {
126126
alert(accessAllowed);
127127
```
128128

129-
The so-called "ternary" or "question mark" operator allows to do that shorter and simpler.
129+
The so-called "ternary" or "question mark" operator lets us do that shorter and simpler.
130130

131131
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.
132132

0 commit comments

Comments
 (0)