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

Home | Discussion Forum
Taiyari24Hour

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



View More Related Question

2) Consider the following code snippet

function f(o)
{
if (o === undefined)
debugger;
}

What could be the task of the statement debugger?

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

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

5) 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?

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.