Q. Which one of the following is the possibly correct output for the given JavaScript code?
Code:
functionfun(int length)
{
int a=5;
for(inti=0;i<length;i++)
{
console.log(a);
}
}
fun(2);
β
Correct Answer: (C)
55