@@ -85,14 +85,14 @@ var my_variable = 4;
|
|||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
// Correct
|
// Correct
|
||||||
if (somthing) {
|
if (something) {
|
||||||
stuff...;
|
stuff...;
|
||||||
} else if (otherthing) {
|
} else if (otherthing) {
|
||||||
stuff...;
|
stuff...;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Incorrect
|
// Incorrect
|
||||||
if (somthing)
|
if (something)
|
||||||
{
|
{
|
||||||
stuff...;
|
stuff...;
|
||||||
}
|
}
|
||||||
@@ -102,8 +102,8 @@ else
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Incorrect
|
// Incorrect
|
||||||
if (somthing) stuff...;
|
if (something) stuff...;
|
||||||
if (somthing)
|
if (something)
|
||||||
stuff...;
|
stuff...;
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user