---
title: "Discussion on \"Why do you need to know about Array-like Objects?\" | Hashnode"
description: "Discussion on \"Why do you need to know about Array-like Objects?\". Have you ever encountered an error like this while dealing with JavaScript Arrays?\n\nUncaught TypeError: children.forEach is not a function\n\nforEach is surely a function of an Array then why do we get an error like the above? There are a few possibili..."
url: "https://hashnode.com/posts/why-do-you-need-to-know-about-array-like-objects/5f9902066ea7602886a1760a"
---

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

Discussion

# [Why do you need to know about Array-like Objects?](https://blog.greenroots.info/why-do-you-need-to-know-about-array-like-objects?utm_source=hashnode&utm_medium=feed)

Have you ever encountered an error like this while dealing with JavaScript Arrays? Uncaught TypeError: children.forEach is not a function forEach is surely a function of an Array then why do we get an error like the above? There are a few possibili...

Oct 28, 2020 · 6 min read · blog.greenroots.info  
Updated May 23, 2022  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#programming](https://hashnode.com/tag/programming)
-   [#beginner](https://hashnode.com/tag/beginner)
-   [#arrays](https://hashnode.com/tag/arrays)
-   [#objects](https://hashnode.com/tag/objects)

## Written by

[Tapas Adhikary](https://hashnode.com/@atapas)

@atapas · Bangalore

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

Educator @tapaScript | Founder CreoWis & ReactPlay - Writer - YouTuber - Open Source

Co-Founder, @CreoWis | Teacher, @tapaScript | Founder, @ReactPlay | YouTuber | Writer | Human

## Responses 2

Markdown supported · ⌘↵ to post

[Neetu Pundir](https://hashnode.com/@Neet)

[Aug 22, 2022](https://hashnode.com/posts/why-do-you-need-to-know-about-array-like-objects/5f9902066ea7602886a1760a/comment/6303373714c73b2c3b9150e4)

So much appreciation. Through this comment I am trying to express my gratitude from the very bottom of my heart. when I see such article, then I feel like I should read everything at once so that it does not get missed. I am sure, many other like me has received massive help from your content. Lots of love and respect. Thank you very much. God will always bless you.

[Tapas Adhikary](https://hashnode.com/@atapas)

[Aug 22, 2022](https://hashnode.com/posts/why-do-you-need-to-know-about-array-like-objects/5f9902066ea7602886a1760a/comment/6303373714c73b2c3b9150e4#reply-6303380d14c73b2c3b91511f)

[Neetu](https://hashnode.com/@Neet), you made my day 😍. Thanks a lot 🙏

[Sonia Manoubi](https://hashnode.com/@Zoun)

[Oct 28, 2020](https://hashnode.com/posts/why-do-you-need-to-know-about-array-like-objects/5f9902066ea7602886a1760a/comment/5f999a69ae41043093cdb6ab)

Thank you for this !

[Tapas Adhikary](https://hashnode.com/@atapas)

[Oct 28, 2020](https://hashnode.com/posts/why-do-you-need-to-know-about-array-like-objects/5f9902066ea7602886a1760a/comment/5f999a69ae41043093cdb6ab#reply-5f999c7dae41043093cdb6e1)

Thank you [Sonia Manoubi](https://hashnode.com/@Zoun) for reading and commenting. I feel happy, it was useful to you.
