Object.getPrototypeOf(document.createElementNS('html', 'div'))
- When I run this from a script on Chrome 48 (stable) or 50 (canary) I get the expected/desired
HTMLDivElement
(codepen) - When I run this within the console on Chrome 48 I get
Element
(noHTMLDivElement
orHTMLElement
) - When I run this within the console on Chrome 50 I get
Node
(noHTMLDivElement
,HTMLElement
, orElement
)