Both are array-like objects but they differ in some areas HTML Collection is a collection of element nodes is returned by 'getElementsByClassName' and 'getElementsByTagName' Nodelist contains all types of nodes: element nodes, text nodes, etc is r...

Markdown supported · ⌘↵ to post
No responses yet.