var -> et
This commit is contained in:
parent
6a9f66ef27
commit
1d236fddf8
45 changed files with 305 additions and 295 deletions
|
@ -7,7 +7,7 @@ Rewrite `if..else` using multiple ternary operators `'?'`.
|
|||
For readability, please let the code span several lines.
|
||||
|
||||
```js
|
||||
var message;
|
||||
let message;
|
||||
|
||||
if (login == 'Employee') {
|
||||
message = 'Hello';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue