Get Programming with JavaScript - Listing 4.15

Listing 4.15 - Using fat arrow notation

const sayHello = () => { console.log("Hello World!"); }; sayHello(); sayHello(); sayHello();