How to call a function with arguments in JavaScript

Functions
By Jad Joubran · 
Last updated Dec 18, 2017
function greetUser(name) {
  return `Welcome ${name} to code to go!`;
}

let result = greetUser("John");

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