Skip to content

Instantly share code, notes, and snippets.

@s-ashwinkumar
Created August 4, 2017 08:21
Show Gist options
  • Save s-ashwinkumar/da19e580ca46a5fe7646f7da15d7f32d to your computer and use it in GitHub Desktop.
Save s-ashwinkumar/da19e580ca46a5fe7646f7da15d7f32d to your computer and use it in GitHub Desktop.

Revisions

  1. s-ashwinkumar created this gist Aug 4, 2017.
    8 changes: 8 additions & 0 deletions synchronousCode.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    try {
    var result1 = syncMeth1();
    var result2 = syncMeth2(result1);
    var finalResult = syncMeth3(result2);
    console.log("I DID IT - "+finalResult);
    }catch(error){
    failCall(error);
    }