Rishabh Prajapati Posted June 9, 2016 Share Posted June 9, 2016 What is the use of 'window' object? I really didn't understood anything about the window object. Link to comment Share on other sites More sharing options...
justsomeguy Posted June 9, 2016 Share Posted June 9, 2016 The window object represents the actual browser window, and it's a global object which is always in scope. It's also the default scope, so instead of using things like window.alert or window.open you can just use alert or open. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now