Answers for "how to update a function to accept a name and have it displayed in JavaScript"

0

how to update a function to accept a name and have it displayed in JavaScript

function displayGreeting(name) {
  const message = `Hello, ${name}!`;
  console.log(message);
}
Posted by: Guest on April-19-2021

Code answers related to "how to update a function to accept a name and have it displayed in JavaScript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language