Skip to content

Instantly share code, notes, and snippets.

@bashbaugh
Created February 24, 2019 04:42
Show Gist options
  • Select an option

  • Save bashbaugh/55253735ed5071c86910415435449681 to your computer and use it in GitHub Desktop.

Select an option

Save bashbaugh/55253735ed5071c86910415435449681 to your computer and use it in GitHub Desktop.
// Here are two name variables:
let some_first_name = "Bob";
let some_last_name = "Joe";
// Here we use them in the name printer function:
print_full_name(some_first_name, some_last_name);
// Or else we can change the first name:
print_full_name("Margaret", some_last_name);
// Or else we can make up both names:
print_full_name("Jane", "Smith");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment