Skip to content

Instantly share code, notes, and snippets.

@jebrial
Last active October 29, 2017 17:28
Show Gist options
  • Save jebrial/370bef1100c41a7d5ab49d8c8beb9272 to your computer and use it in GitHub Desktop.
Save jebrial/370bef1100c41a7d5ab49d8c8beb9272 to your computer and use it in GitHub Desktop.
// This is a simple boilerplate to use for testing function in the node/javascriptures env
// Main function definition:
function mainFunc() {
}
// Helpers:
// Set args value for input test:
const args;
// Generate output:
const startTime = new Date().getTime();
console.log(mainFunc(args));
const endTime = new Date().getTime();
console.log(`\n\nApprox time to complete: ${endTime - startTime} ms`);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment