en.javascript.info/1-js/02-first-steps/12-while-for/1-loop-last-value/task.md
Ilya Kantor 0fcf9f84fa fixes
2017-03-24 17:28:37 +03:00

15 lines
142 B
Markdown

importance: 3
---
# Last loop value
What is the last value alerted by this code? Why?
```js
let i = 3;
while (i) {
alert( i-- );
}
```