Update ex6

This commit is contained in:
LSvekis
2021-06-28 17:21:44 -04:00
committed by GitHub
parent a768bb015d
commit ece257bdd3
+2 -2
View File
@@ -12,8 +12,8 @@ function loop2(val) {
console.log(val); console.log(val);
if (val > 0) { if (val > 0) {
val--; val--;
loop2(val); return loop2(val);
} }
return 'end'; return;
} }
loop2(start); loop2(start);