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.
We can't see student submissions, so please paste the code into a repl with the question.
// 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' ;