How to call a function in JavaScript

Functions
Last updated Dec 17, 2017
function greetUser() {
  return "Welcome to code to go!";
}

let result = greetUser();

console.log(result);
Welcome to code to go!