Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

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

a) The property will be stored in a cache
b) The loop will not run
c) That property will not be enumerated
d) The property will be enumerated

Answer: c
Explanation: If the body of a for/in loop deletes a property that has not yet been enumerated, that property will not be enumerated. If the body of the loop defines new properties on the object, those properties will generally not be enumerated.

Join The Discussion