DOM继承树

一、继承树 document表示文档对象,而它的构造函数是HTMLDocument HTMLDocument.prototype.proto = Document.prototype 因此,document和Document之间的关系就是: document继承自HTMLDocument.prototype,而HTMLDocument.prototype又继承自Document.prototype
相关文章
相关标签/搜索