Created
June 30, 2017 09:21
-
-
Save tnngo2/4f7af0fe5aa7a3cc20eeed4c3d659e45 to your computer and use it in GitHub Desktop.
// source http://jsbin.com/vopahof
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
<script src="https://code.jquery.com/jquery-3.1.0.js"></script> | |
<script src="https://gist.githubusercontent.com/tnngo2/9c27c8aa5c91b9f13f6f93fd46dd94c2/raw/3f3b641cada3fc069dc77e12cfc3467bd0b75adb/jsbin.vopahof.js"></script> | |
<script id="jsbin-javascript"> | |
function execCallAsync () { | |
console.log('exeCallAsync:start'); | |
callAsync(); | |
sleep(9000); | |
console.log('exeCallAsync:end'); | |
} | |
function execExecCallAsync () { | |
console.log('execExecCallAsync:start'); | |
execCallAsync(); | |
sleep(5000); | |
console.log('execExecCallAsync:end'); | |
} | |
function execExecExecCallAsync () { | |
console.log('execExecExecCallAsync:start'); | |
execExecCallAsync(); | |
console.log('execExecExecCallAsync:end'); | |
} | |
execExecExecCallAsync(); | |
</script> | |
<script id="jsbin-source-javascript" type="text/javascript">function execCallAsync () { | |
console.log('exeCallAsync:start'); | |
callAsync(); | |
sleep(9000); | |
console.log('exeCallAsync:end'); | |
} | |
function execExecCallAsync () { | |
console.log('execExecCallAsync:start'); | |
execCallAsync(); | |
sleep(5000); | |
console.log('execExecCallAsync:end'); | |
} | |
function execExecExecCallAsync () { | |
console.log('execExecExecCallAsync:start'); | |
execExecCallAsync(); | |
console.log('execExecExecCallAsync:end'); | |
} | |
execExecExecCallAsync();</script> |
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
function execCallAsync () { | |
console.log('exeCallAsync:start'); | |
callAsync(); | |
sleep(9000); | |
console.log('exeCallAsync:end'); | |
} | |
function execExecCallAsync () { | |
console.log('execExecCallAsync:start'); | |
execCallAsync(); | |
sleep(5000); | |
console.log('execExecCallAsync:end'); | |
} | |
function execExecExecCallAsync () { | |
console.log('execExecExecCallAsync:start'); | |
execExecCallAsync(); | |
console.log('execExecExecCallAsync:end'); | |
} | |
execExecExecCallAsync(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment