26. Change variable values HELP!


#1

I dont know why this didn't work?
can anybody help me?
They ask me "TypeError: console.log is not a function"

// On line 2, declare a variable myName and give it your name.
var myName = "Steven";
// 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.
console.log(myName.substring(0,2));
// On line 9, use console.log to print out the myName variable .
console.log(myName);


#2

On line 7 you didn't change the value, you logged the value. To change the value you need to use the = operator.

myName =