Question: Write an arrow function named greetByFullName, that accepts two strings (firstName and lastName), and returns a personalized greeting that spans two lines of output. Use
Write an arrow function named greetByFullName, that accepts two strings (firstName and lastName), and returns a personalized greeting that spans two lines of output. Use a template literal to solve this exercise.
alert(greetByFullName("Jille", "Bonnefemme"))
-->
Hello Jille Bonnefemme!
Welcome to JavaScript!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
