ExamVeda
Login
Home
This question belongs to Javascript Basic And Variables
Basic and Variables
?

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

Answer & Solution
Correct Answer: Option C
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.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.