This commit is contained in:
Ilya Kantor 2019-03-07 11:01:31 +03:00
parent b310b741b0
commit 2a44419d92
3 changed files with 25 additions and 1 deletions

View file

@ -41,7 +41,7 @@ let range = {
}
};
for(let value in range) {
for(let value of range) {
alert(value); // 1 then 2, then 3, then 4, then 5
}
```