Add nullish coalescing to multiple articles, refactor operators, renumber the chapter
This commit is contained in:
parent
175aefa0b8
commit
8a13c992d6
54 changed files with 386 additions and 183 deletions
15
1-js/02-first-steps/13-while-for/1-loop-last-value/task.md
Normal file
15
1-js/02-first-steps/13-while-for/1-loop-last-value/task.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
importance: 3
|
||||
|
||||
---
|
||||
|
||||
# Last loop value
|
||||
|
||||
What is the last value alerted by this code? Why?
|
||||
|
||||
```js
|
||||
let i = 3;
|
||||
|
||||
while (i) {
|
||||
alert( i-- );
|
||||
}
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue