What will be the output of the following JavaScript code?

Mark as favorite
Answer the question in 30 seconds!
// JavaScript Comparison Operators
function compare()
{
    int num=2;
    char b=2;
    if(a==b)
        return true;
    else
        return false;
}

118 thoughts on “ What will be the output of the following JavaScript code?

Leave a Reply

Your email address will not be published. Required fields are marked *