Created
July 23, 2019 01:33
-
-
Save Victoryerz/3ac6fa3f6732bdb370acc09e12c0eab8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Count(start, end) { | |
out = []; | |
out.push(start); | |
Omg = function omg(anything) { | |
return anything; | |
}; | |
var NewStart = Omg(start); | |
function retry() { | |
NewStart++; | |
out.push(NewStart); | |
if (NewStart < end) { | |
retry(); | |
}; | |
} | |
retry(); | |
return out; | |
} | |
console.log(Count(3, 4)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment