in the console will output 'true', followed by two Arrays of different sizes.
Also, Google's doc [1] says:
> queryObjects(HTMLElement). Returns all HTML elements.
But it returns not just instances of HTMLElement (objects that derive from HTMLElement.prototype via the prototype chain) but subclasses as well (objects that derive from HTMLElement itself via the prototype chain, like HTMLBodyElement and HTMLHeadElement, which are not its instances)
queryObjects(Object.prototype) === queryObjects(Object)
in the console will output 'true', followed by two Arrays of different sizes.
Also, Google's doc [1] says:
> queryObjects(HTMLElement). Returns all HTML elements.
But it returns not just instances of HTMLElement (objects that derive from HTMLElement.prototype via the prototype chain) but subclasses as well (objects that derive from HTMLElement itself via the prototype chain, like HTMLBodyElement and HTMLHeadElement, which are not its instances)
[1] https://developer.chrome.com/docs/devtools/console/utilities...