---
title: "Discussion on \"NodeList vs HTMLCollection — The DOM Showdown\" | Hashnode"
description: "Discussion on \"NodeList vs HTMLCollection — The DOM Showdown\". Two collections that look the same, but behave completely differently.\n\n\n1. What are they, exactly?\nWhen you query the DOM in JavaScript, you don't get a plain array back — you get a collection object"
url: "https://hashnode.com/posts/nodelist-vs-htmlcollection-the-dom-showdown/69b3e9e3f6a6f01d1e4a438a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [NodeList vs HTMLCollection — The DOM Showdown](https://web-dev-articles.hashnode.dev/nodelist-vs-htmlcollection-the-dom-showdown?utm_source=hashnode&utm_medium=feed)

Two collections that look the same, but behave completely differently. 1. What are they, exactly? When you query the DOM in JavaScript, you don't get a plain array back — you get a collection object

Mar 13 · 7 min read · web-dev-articles.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#chaicode-webdev-cohort-2026](https://hashnode.com/tag/chaicode-webdev-cohort-2026)
-   [#javascript-dom](https://hashnode.com/tag/javascript-dom)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Prafull Chaudhari](https://hashnode.com/@prafulchaudhari)

@prafulchaudhari · Surat, India

  
[View profile](https://hashnode.com/@prafulchaudhari)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
