Add implementation for ifElse

This commit is contained in:
Tim Mickel 2016-06-10 10:40:15 -04:00
parent ca68c55d57
commit 0bf9ab59a1
3 changed files with 25 additions and 6 deletions
src/engine

View file

@ -69,8 +69,8 @@ var execute = function (sequencer, thread) {
},
timeout: YieldTimers.timeout,
stackFrame: currentStackFrame,
startSubstack: function () {
sequencer.stepToSubstack(thread);
startSubstack: function (substackNum) {
sequencer.stepToSubstack(thread, substackNum);
}
});
}