Number 26


#1

// On line 2, declare a variable myName and give it your name.
var myName = "bob";
// On line 4, use console.log to print out the myName variable.
console.log(myName);
// On line 7, change the value of myName to be just the first 2
// letters of your name.
var myName = myName.substring(0,2);
// On line 9, use console.log to print out the myName variable.
console.log(myName);


#2

Your code looks all good and passes. Try refreshing browser if you are experiencing any issue(s)

See screenshot.


#3

Ok thank you for helping.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.