logo

Crowdly

Browser

Add to Chrome

Which of the following is the correct output for the following JavaScript code: ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Which of the following is the correct output for the following JavaScript code:

var x=3;  

var y=2;  

var z=0;  

If(x==y)  

document.write(x);  

elseif(x==y)  

document.write(x);  

else  

document.write(z);  

0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on oulms.ou.ac.lk?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome