en.javascript.info/1-js/4-data-structures/2-number/4-endless-loop-error/task.md
2016-03-06 00:59:16 +03:00

15 lines
149 B
Markdown

importance: 4
---
# An occasional infinite loop
This loop is infinite. It never ends. Why?
```js
let i = 0;
while (i != 10) {
i += 0.2;
}
```