Created
October 9, 2012 19:06
-
-
Save niedbalski/3860752 to your computer and use it in GitHub Desktop.
Javascript self recursion on anonymous functions
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(n) { return (!(n>1))? 1 : arguments.callee(n-1)*n; })(0xb4dc0d3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment