Object->EventTarget->Function->Node->Element->HTMLElement->HTMLParagraphElement->ThisIsAParagraphElement
2018-04-17
function isElement(e){
return !!e && e instanceof Node && e.nodeType == 1;
}
return !!e && e instanceof Node && e.nodeType == 1;
}
2018-04-16
渲染引擎:
$(document).ready(function(){
//to do whatever you want to do
});
$(document).ready(function(){
//to do whatever you want to do
});
2018-04-16
Element: 1--div--null;
Attr: 2--id--dd;
Text: 3--#text--Hello, world;
Document: 9--#document--null;
Doctype: 10--html--null;
Comment: 8--#comment--This is a comment;
DocmentFragment: 11-#document-fragment--null;
Attr: 2--id--dd;
Text: 3--#text--Hello, world;
Document: 9--#document--null;
Doctype: 10--html--null;
Comment: 8--#comment--This is a comment;
DocmentFragment: 11-#document-fragment--null;
2018-04-16