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;
}
β
Correct Answer: (C)
Yes, this will work