init
This commit is contained in:
parent
06f61d8ce8
commit
f301cb744d
2271 changed files with 103162 additions and 0 deletions
|
@ -0,0 +1,6 @@
|
|||
|
||||
|
||||
```js
|
||||
result = (a + b < 4) ? 'Мало' : 'Много';
|
||||
```
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
# Перепишите 'if' в '?'
|
||||
|
||||
[importance 5]
|
||||
|
||||
Перепишите `if` с использованием оператора `'?'`:
|
||||
|
||||
```js
|
||||
if (a + b < 4) {
|
||||
result = 'Мало';
|
||||
} else {
|
||||
result = 'Много';
|
||||
}
|
||||
```
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue