Cant figure out what im doing wrong
ASutton1986 (1)

Exercise Two:
// Step One create a variable called 'myName' and assign it the a string of your name.
// Step Two: Call the function called "sayMyName",passing the 'myName' variable as it's only argument.
// NOTE: You do NOT need to create the function (sayMyName), doing so will break the test.
// It has been created for you.
**This is what I have so far:
var myName = "Ashley";
function parameter1(myName){

not sure what i did wrong??

You are viewing a single comment. View All
Geocube101 (591)

If all your doing is calling the function, then it should be functionName(args), where functionName is the name of the function and args are the arguments to pass.