A
Q. What will the following JavaScript code snippet do? If not, what will be the error?
Code:
function letsfindcourse(lfc)
{
for (; lfc.next; lfc = lfc.next) ;
return lfc;
}
{
for (; lfc.next; lfc = lfc.next) ;
return lfc;
}
- Correct Answer - Option(C)
- Views: 22
- Filed under category JavaScript
- Hashtags:
Discusssion
Login to discuss.