A
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);
{
int p=2;
for(int x=0;x {
console.log(p);
}
}
range(4);
- Correct Answer - Option(C)
- Views: 6
- Filed under category JavaScript
- Hashtags:
Discusssion
Login to discuss.