What 'document' mean in JavaScript is it a function, method, or anything else? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

What 'document' mean in JavaScript is it a function, method, or anything else?

24th Jan 2020, 5:28 AM
Avinash
Avinash - avatar
2 Answers
+ 13
a "document" is an object. It is responsible for the html document that is loaded into the window (browser)
24th Jan 2020, 8:09 AM
Немерцающий Свет
Немерцающий Свет - avatar
+ 5
The answer to this is directly in the first chapter of JavaScript DOM tutorial. Please review the course before asking next time.
24th Jan 2020, 5:33 AM
Aymane Boukrouh
Aymane Boukrouh - avatar