Created
May 29, 2013 12:08
-
-
Save mutoo/5669815 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 printDigit(n) { | |
| document.write(n); | |
| } | |
| function printOut(n) { | |
| if (n >= 10) | |
| printOut(parseInt(n / 10)); | |
| printDigit(n % 10); | |
| } | |
| printOut(10086); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment