Skip to main content
Commonmark migration
Source Link

#JavaScript, 42, by Shawn Holzworth

JavaScript, 42, by Shawn Holzworth

(function nn(n){return !n||n+nn(--n)})(58) 

And to test it :

alert((function nn(n){return !n||n+nn(--n)})(58))

#JavaScript, 42, by Shawn Holzworth

(function nn(n){return !n||n+nn(--n)})(58) 

And to test it :

alert((function nn(n){return !n||n+nn(--n)})(58))

JavaScript, 42, by Shawn Holzworth

(function nn(n){return !n||n+nn(--n)})(58) 

And to test it :

alert((function nn(n){return !n||n+nn(--n)})(58))

replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Source Link

#JavaScript, 42, by Shawn HolzworthJavaScript, 42, by Shawn Holzworth

(function nn(n){return !n||n+nn(--n)})(58) 

And to test it :

alert((function nn(n){return !n||n+nn(--n)})(58))

#JavaScript, 42, by Shawn Holzworth

(function nn(n){return !n||n+nn(--n)})(58) 

And to test it :

alert((function nn(n){return !n||n+nn(--n)})(58))

#JavaScript, 42, by Shawn Holzworth

(function nn(n){return !n||n+nn(--n)})(58) 

And to test it :

alert((function nn(n){return !n||n+nn(--n)})(58))

Source Link
Optimizer
  • 26.6k
  • 7
  • 67
  • 144

#JavaScript, 42, by Shawn Holzworth

(function nn(n){return !n||n+nn(--n)})(58) 

And to test it :

alert((function nn(n){return !n||n+nn(--n)})(58))