been working on this one for a while now i need help would be greatly appreciated
washingtonwill (0)

Exercise Three:
// Create a function called 'sayMyName'. It will take one parameter. Call this
// parameter 'myName'. Return the phrase "Hello, my name is " and the myName parameter.
// eg: if name is 'Dan' it should return the string: 'Hello, my name is Dan'.

You are viewing a single comment. View All
Answered by raghavm (73) [earned 5 cycles]
View Answer
washingtonwill (0)

thank you very much for responding. still trying to get javascript to say william... it only says hello my name is...

function sayMyName(William){
return 'Hello, my name is';
}
sayMyName();

@d_d