en.javascript.info/1-js/02-first-steps/11-logical-operators/7-check-if-out-range/solution.md
Ilya Kantor ab9ab64bd5 up
2017-03-21 14:41:49 +03:00

12 lines
120 B
Markdown

The first variant:
```js
if (!(age >= 14 && age <= 90))
```
The second variant:
```js
if (age < 14 || age > 90)
```