fixes
This commit is contained in:
parent
c9401b3104
commit
0fcf9f84fa
58 changed files with 673 additions and 643 deletions
|
@ -6,7 +6,7 @@ importance: 5
|
|||
|
||||
Rewrite `if..else` using multiple ternary operators `'?'`.
|
||||
|
||||
For readability, it's recommended to split the code span over lines.
|
||||
For readability, it's recommended to split the code into multiple lines.
|
||||
|
||||
```js
|
||||
let message;
|
||||
|
@ -21,4 +21,3 @@ if (login == 'Employee') {
|
|||
message = '';
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue