You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running this with Node version 12.16.1, the output of this is NodeList {}. When running with Node version <= 11, the output is NodeList { '0': HTMLParagraphElement {} }
The text was updated successfully, but these errors were encountered:
This is an artifact of recent changes to Node.js' util.format function, that is used in console.log. If you explicitly print out the length of the NodeList (or if you convert the NodeList to an array through Array.from or [...obj]), you see that the object is in fact not empty. See https://runkit.com/timothygu/5e588813857db1001441093f.
Basic info:
Minimal reproduction case
When running this with Node version 12.16.1, the output of this is
NodeList {}
. When running with Node version <= 11, the output isNodeList { '0': HTMLParagraphElement {} }
The text was updated successfully, but these errors were encountered: