Q. Which of the following options would be the correct output for the given JavaScript code?
Code: var size=5;
var x=5;
var size=4;
for(var j=size;j>=0;j--)
{
console.log(x);
xx=x-2;
}
β
Correct Answer: (C)
531-1-3