0

Document.write()

what does it really mean... what does each element stand for?

23rd Aug 2017, 4:46 PM
Ntiri Ebenezer Kwasi
Ntiri Ebenezer Kwasi - avatar
1 ответ
+ 2
It's insanely literal. It writes to the document. Document is the document (your page) Write is the method that writes something to the document () is to make sure the compiler knows we're referring to a method instead of a variable.
23rd Aug 2017, 4:55 PM
AgentSmith