logo

Crowdly

Browser

Add to Chrome

What is the output for the following javascript code? var a = 0; document.w...

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

What is the output for the following javascript code?

var a = 0;

document.write("Numbers are:")

    while(++a <= 5)

        document.write(a + " ");
0%
33%
67%
0%
More questions like this

Want instant access to all verified answers on moodle.polytechnic.bh?

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

Browser

Add to Chrome