Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sample synchronous code
try {
var result1 = syncMeth1();
var result2 = syncMeth2(result1);
var finalResult = syncMeth3(result2);
console.log("I DID IT - "+finalResult);
}catch(error){
failCall(error);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment