26 help


#1

// On line 2, declare a variable myName and give it your name.
var myName = "erik";
// 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

get rid of the = here for both of the console.logs


#3

that worked! thank you


#4

Also if you submitted the code you may need to refresh the page because console.log = value does like any other name = value reassigns a variable. So you may in the process get the error that console.log is not a function because now it is a string (myName).