• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in JavaScript by
Q:
How are the JavaScript window and JavaScript document different from one another?

1 Answer

0 votes
by

Window is a global object and it holds functions, variables, location and history.

Document is a part of the window and is deemed as a property of the Javascript window.

Related questions

0 votes
asked Sep 18, 2021 in JavaScript by sharadyadav1986
0 votes
asked Sep 18, 2021 in JavaScript by sharadyadav1986
...