| |
|
What is most important difference between window and document in JavaScript? Question Posted on 14 Apr 2022 Home >> JavaScript >> JavaScript Questions >> What is most important difference between window and document in JavaScript? |
What is most important difference between window and document in JavaScript?
Below is the most important difference between window and document in JavaScript:-
Window in JavaScript:-JavaScript window is a global object which can holds location, history, variables, functions.
Document in JavaScript:- Document also comes under the window and can be considered as the property of the window. | |
|
|
|
|