Last active
July 15, 2016 21:19
-
-
Save syuhei176/a79dba70feb5f9ed43b2396b2b27a5a8 to your computer and use it in GitHub Desktop.
メッセージ: ひたすら前に進んで、うしろを振り返らず、失敗してもすぐに仕切りなおす。
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
const next = (x) => { | |
try{ | |
next(x + 1); | |
}catch(e) { | |
setImmediate(()=>{next(x)}); | |
} | |
} | |
next(0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment