Need Answer for 26/28 Please <333


#1

// On line 2, declare a variable myName and give it your name.

// On line 4, use console.log to print out the myName variable.

// On line 7, change the value of myName to be just the first 2
// letters of your name.

// On line 9, use console.log to print out the myName variable.


#2

So where is the issue you're having?


#3

It is fairly self explanatory, but here is my code:

var myName = "Kevin";
console.log(myName);
myName = "Ke";
console.log(myName);

-Kevin


#4

Oh my goodness.. I thought for about 5 minutes that there was something wrong with your code and you're asking for help Kevin. I didn't even think that you were trying to help the guy out. I feel silly xD


#5

lol. That's gr8 :smile: