How to write an arrow function in JavaScript

Functions
By Jad Joubran · 
Last updated Aug 16, 2020
const greetUser = () => {
  return "Welcome to code to go!";
};

let result = greetUser();

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