Skip to content

Instantly share code, notes, and snippets.

@floverfelt
Created October 30, 2020 14:09
Show Gist options
  • Save floverfelt/8931491cbbd8a2be6d5e80dda97ff653 to your computer and use it in GitHub Desktop.
Save floverfelt/8931491cbbd8a2be6d5e80dda97ff653 to your computer and use it in GitHub Desktop.
var variable1 = 1;
var variable2 = 2;
function add() {
return variable1 + variable2;
}
console.log('The result of add(): ' + add());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment