Merge pull request #5 from Kurczok/patch-1

Patch 1
This commit is contained in:
Kurczok 2017-07-09 11:33:22 +02:00 committed by GitHub
commit e833ecb02f
6 changed files with 6 additions and 6 deletions

View file

@ -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