Last active
April 15, 2016 23:34
-
-
Save matheusml/54acafaabd220da0925d57d8ba5975d4 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
var printSquares = function(n) { | |
if (n > 0) { | |
printSquares(n-1); | |
console.log(n*n); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment