Get Programming with JavaScript - Listing 5.15

Listing 5.15 - Calling the same function with different arguments

const showMessage = message => console.log(`The message is: ${message}`); showMessage("It's full of stars!"); showMessage("Hello to Jason Isaacs"); showMessage("Hello to Jason Isaacs and Stephen Fry");