Conclusion 1


#1

does anyone know whats wrong with this code


#2

Yes :wink:

var myColor = "blue";{ // { not needed
console.log = (myColor.length) // = not needed
};//} not needed and move ; to the line above

#3

I thing you wanna find a length of "blue"

I thing it should be in this way
var myColor = "blue";
console.log(myColor.length);