How to call a function in JavaScript

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

let result = greetUser();

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