by j4mie · 15y ago · 0 comments
Anyone know what replaces this?
How would I write this (stupid code that would eventually blow the stack) without arguments.callee?
(function () {
console.log("hello world");
setTimeout(arguments.callee, 1000);
})(); (function foo() {
console.log("hello world");
setTimeout(foo, 1000);
})();