Closed FYL2003 closed 7 months ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
src/stepper/stepper.ts | 0 | 6 | 0.0% | ||
<!-- | Total: | 0 | 6 | 0.0% | --> |
Totals | |
---|---|
Change from base Build 8402031014: | 0.03% |
Covered Lines: | 10503 |
Relevant Lines: | 12562 |
Before this change, the if statement inside a block statement is not value producing, details in the following video https://github.com/source-academy/js-slang/assets/97390773/d1300c04-df1f-4f9c-8a50-9b0dcabe3d69
After the change, the if statement inside a block statement is value producing and will not accidentally unpack itself.
https://github.com/source-academy/js-slang/assets/97390773/c39527cb-06f1-4e5a-ae9e-bce52a26577e