Skip to content

Instantly share code, notes, and snippets.

@gaurang847
Last active January 2, 2019 19:13
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/b8deb3befe38434fb977eb78b3d3e54a to your computer and use it in GitHub Desktop.
Save gaurang847/b8deb3befe38434fb977eb78b3d3e54a to your computer and use it in GitHub Desktop.
async function m1(){
let a = await getValueFromFile1();
let b = await getValueFromFile2();
let sum = a + b;
await printSumToFile3(sum);
console.log('Success.');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment