w3docs logo

Quiz Javascript Basic - What is the value of "elem" variable?

var elem;
if ( 11 == 11 && 12 < 10 ){
elem = 12;
}
else {
elem = 'undefined';
}
Do you find this helpful?