Don't know whats wrong with 26 someone help


#1

Dont get what is wrong here!


#2

When you declare a variable JavaScript, do not enclose the statement in parentheses. Also, declare a variable with a single equals sign (=).

Instead of

(var myName === "Sam");

on line 2, you can simply have

var myName = "Sam";

#3

also the code on line 7 instead
myName = "Sa"

replace it with this code
console.log(myName.substring(0, 2));