Question No : 22
The escape sequence stands for _________
Question No : 23
The snippet that has to be used to check if a is not equal to null is _________
Question No : 24
The statement a===b refers to _________
Question No : 25
Assume that we have to convert false that is a non-string to string. The command that we use is (without invoking the new operator).
Question No : 26
What will be the output of the following JavaScript code?
function compare()
{
int num=2;
char b=2;
if(a==b)
return true;
else
return false;
}
Question No : 27
What will be the output of the following JavaScript code?
function equalto()
{
int num=10;
if(num===10)
return true;
else
return false;
}
Question No : 28
What will be the output of the following JavaScript code?
function compare()
{
int a=1;
char b=1;
if(a.tostring()===b)
return true;
else
return false;
}