Skip to content

Instantly share code, notes, and snippets.

@aarohmankad
Created December 9, 2017 06:08
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 aarohmankad/23f6b9302a35d80d7e6ddc7f2e84e7cf to your computer and use it in GitHub Desktop.
Save aarohmankad/23f6b9302a35d80d7e6ddc7f2e84e7cf to your computer and use it in GitHub Desktop.
function add(a, b) {
return a + b;
}
let sum = add(3, 4);
if (sum !== 7) {
console.log("add(3, 4) failed. Expected: 7, Actual: " + sum);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment