source-academy / js-slang

Implementations of sublanguages of JavaScript, TypeScript, Scheme and Python
https://source-academy.github.io/source/
Apache License 2.0
70 stars 104 forks source link

1108 stepper programs that end with a declaration dont show correct result #1597

Closed FYL2003 closed 8 months ago

FYL2003 commented 8 months ago

This change solves the issue of not returning undefined when encounter empty program and not returning undefined when declaration appears.

coveralls commented 8 months ago

Pull Request Test Coverage Report for Build 8385542685

Details


Totals Coverage Status
Change from base Build 8383852478: 0.004%
Covered Lines: 10503
Relevant Lines: 12566

💛 - Coveralls