JS Assignment 7: Arguments and Parameters
skudeva (15)

Hi everyone,
What am I doing wrong in this exercise?

// 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.
// 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.

let myName = "Stefka";
sayMyName ('myName');

You are viewing a single comment. View All
Answered by heyitsmarcus (287) [earned 5 cycles]
View Answer