---
title: "Discussion on \"A new way to construct/debug Arrays\" | Hashnode"
description: "Discussion on \"A new way to construct/debug Arrays\". A few days back while I was working I wrote a long block of code that made use of map, reduce & filter. Without testing I finished the code assuming it's gonna work but it broke. I had to console.log every operation to debug it. It was a minor issue,..."
url: "https://hashnode.com/posts/a-new-way-to-constructdebug-arrays/626e3a06a2d355d4df43feff"
---

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

Discussion

# [A new way to construct/debug Arrays](https://codedrops.hashnode.dev/a-new-way-to-constructdebug-arrays?utm_source=hashnode&utm_medium=feed)

A few days back while I was working I wrote a long block of code that made use of map, reduce & filter. Without testing I finished the code assuming it's gonna work but it broke. I had to console.log every operation to debug it. It was a minor issue,...

May 1, 2022 · 1 min read · codedrops.hashnode.dev  
Read the article

-   [#side-project](https://hashnode.com/tag/side-project)
-   [#array](https://hashnode.com/tag/array)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#productivity](https://hashnode.com/tag/productivity)
-   [#devtools](https://hashnode.com/tag/devtools)

## Written by

[Mehul Lakhanpal](https://hashnode.com/@ml318097)

@ml318097 · Bangalore, India

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

Full-stack Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
