1.

What will be the output for the following snippet? (HOT) For (var n=0; n<10; n+1){if (n==3){break;}document write (n+ “<br>”);}(a) 0 1 2(b) 0 1 2 3 4(c) 0 1 2 3 4(d) 0, 1, 3

Answer»

Correct answer is (a) 0 1 2



Discussion

No Comment Found