Commit 66d9125
committed
[MERGE chakra-core#1008] Array Destructuring issue on .next function.
Merge pull request chakra-core#1008 from akroshg:destruct2
The iterator.next should not be called if the last slot is empty slot. Fixed that and added the test.2 files changed
Lines changed: 38 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6166 | 6166 | | |
6167 | 6167 | | |
6168 | 6168 | | |
6169 | | - | |
| 6169 | + | |
| 6170 | + | |
6170 | 6171 | | |
6171 | | - | |
| 6172 | + | |
6172 | 6173 | | |
6173 | 6174 | | |
6174 | 6175 | | |
| |||
6190 | 6191 | | |
6191 | 6192 | | |
6192 | 6193 | | |
| 6194 | + | |
6193 | 6195 | | |
6194 | 6196 | | |
6195 | 6197 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
584 | 618 | | |
585 | 619 | | |
586 | 620 | | |
| |||
0 commit comments