Q. What will be the output of the following JavaScript code?
Code:function fun_range(int l)
{
int p=2;
for(int x=0;x {
console.log(p);
}
}
range(4);
β
Correct Answer: (C)
2222
function fun_range(int l)
{
int p=2;
for(int x=0;x {
console.log(p);
}
}
range(4);
You must be Logged in to update hint/solution