Somethings not right!


#1


this code is all good but it acting reverse to the condition that it is supposed to work accordingly please tell me if i am wrong you can check this code on exercise 13. not


var programming = false;


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


#2

what exactly you want to accomplish with this code?


#3

actually some new comers will not read the instructions and in that case
they will forget to see the instruction for ! operator
and the way I have done is in the same way without ! operator and it is
important for them to understand it and doing it wrong way doesn't give the
error.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.