What is wrong with this function definition?
const myFirstName = "Dave";
const myLastName = "Gray";
function myFullName(first, last) {
return myFirstName + " " + myLastName;
}
a) Inside the function definition, you need to refer to the parameters with the parameter names first and last instead of using specific variable names.
b) The function does not use () to display the data. You cannot have a function that does not display data in some way.
c) The function should return boolean data. Instead, this function returns a string.
d) The empty quotes inside the function will cause an error. They should be removed.