Skip to content

Instantly share code, notes, and snippets.

@gaurang847
Created January 2, 2019 19:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gaurang847/1d62d9422476e3bd78993c7d3d10c070 to your computer and use it in GitHub Desktop.
Save gaurang847/1d62d9422476e3bd78993c7d3d10c070 to your computer and use it in GitHub Desktop.
function m1(){
let a, b;
getValueFromFile1(function(value){
a = value;
getValueFromFile2(function(value){
b = value;
let sum = a + b;
printSumToFile3(sum, function(){
console.log('Success');
})
})
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment