Log any array-like object that isn't actually an Array: NodeList, DOMTokenList, HTMLAllCollection, RadioNodeList, Arguments, HTMLFormControlsCollection, HTMLOptionsCollection, HTMLCollection
Examples:
- document.body.childNodes
- document.all
In the DevTools console and across our UI, we format it as: '(5) [...]' when it should look like 'DOMTokenList(5) [...]'
We need to be better about checking for these cases and include their names. Since there are so many, it might be better to hide the name only when the description starts with 'Array('
Comment 1 by bugdroid1@chromium.org
, Oct 3 2017