JS assignment 7
jagerxx450 (1)

Having trouble on assignment 7.Specifically exercise two, lesson two.
Tried multiple times but, couldn't figure out the solution.If the link doesn't work I might have the repl.it closed. I will leave the link in a comment.

You are viewing a single comment. View All
jagerxx450 (1)

@ash15khng
// Exercise Two:
// Step One create a variable called 'myName' and assign it the a string of your name.
// Step Two: Modify the function to push the given item onto the end of the array and return the array.,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 = 'john' ;
sayMyName(myName);

ExerciseTwo();