Why did !== work out in my code as TRUE?


#1

Hello My Name is Tommy

I just started learning coding in codeacademy. I started with Javascript. Below is a picture of an exercise I did. I tried to make it evaluate line 1 as being FALSE using comparision !== but it seems to have evaluated it as TRUE.
I'm not quite sure why. Can anyone please enlighten me ?


#2

Hi,

The first line can be translated to psuedo-coded as"

IF the length of the string "I have a big nose?" is not equal to 2

Since the length of "I have a big nose?" is not equal to 2, that returns true and therefore should log "Let's go down the first road!" to the console.


#3

The lightbulb has lit up :grinning: I get it. Thanks for your help