Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Javascript is shit

Name: Anonymous 2012-08-26 2:01

% node
(function(x) { return x(x); })(function(x) { return x(x); })
RangeError: Maximum call stack size exceeded

Whelp.

Name: Anonymous 2012-08-26 2:57

>>5
It's called a Y-combinator. It's an infinite loop, but only in languages that are tail-call optimized. Otherwise it just crashes the stack.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List