1.

During the traversing through the stack, where does it go after it goes to the window?(a) Namespace(b) Function(c) Document(d) NowhereI have been asked this question in an interview.I need to ask this question from Cache Variables and Properties across Scope topic in portion Caching, Debugging and Animation of JavaScript

Answer»

Right OPTION is (d) Nowhere

To explain I WOULD say: window.location.assign loads a NEW DOCUMENT. During the traversal in the stack manner, after going to the window, it goes nowhere.



Discussion

No Comment Found

Related InterviewSolutions