13: Not. Is this true?


Am I doing this right?

programming = false

var happy = function() {
    if (!programming){
        return true;
        return false;

I got the green, but I was wondering if my coding is right. It returned false on my screen.


the false shown on your screen is the value of programming, which is false (you set it on line 1)

codecademy echoes the value of the last variable, and your function doesn't execute since you don't call it, if you call your function and log the returned result to the console:


you will see true :smiley:


Thank you kindly sir.