up
This commit is contained in:
parent
83b93e5992
commit
9ad9063d00
742 changed files with 884 additions and 779 deletions
16
1-js/02-first-steps/12-while-for/1-loop-last-value/task.md
Normal file
16
1-js/02-first-steps/12-while-for/1-loop-last-value/task.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
importance: 3
|
||||
|
||||
---
|
||||
|
||||
# Last loop value
|
||||
|
||||
What is be 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