What will happen if the body of a for/in loop deletes a property that has not ye

Home | Discussion Forum

What will happen if the body of a for/in loop deletes a property that has not yet been enumerated?

View More Related Question

1) What will be the step of the interpreter in a jump statement when an exception is thrown?

2) Among the keywords below, which one is not a statement?

3) Consider the following code snippet

function tail(o)
{
for (; o.next; o = o.next) ;
return o;
}

Will the above code snippet work? If not, what will be the error?

4) Consider the following code snippet

while (a != 0)
{
if (a == 1)
continue;
else
a++;
}

What will be the role of the continue keyword in the above code snippet?

5) What are the three important manipulations done in a for loop on a loop variable?

UP Gk Online Test

taiyari24hour.com