Created
May 3, 2014 00:00
-
-
Save nowk/5b0dff3c8a38ac62aacd to your computer and use it in GitHub Desktop.
This file contains hidden or 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
/* jshint node: true */ | |
var i = 0; | |
var a = function b() { | |
i++; | |
// 3x | |
if (4 === i) { | |
return; | |
} | |
console.log('recur', i); | |
b(); | |
}; | |
a(); | |
try { | |
b(); | |
} catch (e) { | |
console.error('err', e); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment