---
title: "Discussion on \"I re-wrote Array in JavaScript but as an Object\" | Hashnode"
description: "Discussion on \"I re-wrote Array in JavaScript but as an Object\". I rewrote Array in JavaScript but as Object!\n\nNearly everything in JS is an object.\n\nNote: I could have used OOP to make the code better, reusable and robust. I was in so hurry to try out the experiment and do some code as talk is cheap. (😉)\nhttps:/..."
url: "https://hashnode.com/posts/i-re-wrote-array-in-javascript-but-as-an-object/62da0a1ae3738c59b0b79cf0"
---

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

Discussion

# [I re-wrote Array in JavaScript but as an Object](https://therakeshpurohit.hashnode.dev/i-re-wrote-array-in-javascript-but-as-an-object?utm_source=hashnode&utm_medium=feed)

I rewrote Array in JavaScript but as Object! Nearly everything in JS is an object. Note: I could have used OOP to make the code better, reusable and robust. I was in so hurry to try out the experiment and do some code as talk is cheap. (😉) https:/...

Jul 22, 2022 · 2 min read · therakeshpurohit.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#json](https://hashnode.com/tag/json)
-   [#react](https://hashnode.com/tag/react)
-   [#object-oriented](https://hashnode.com/tag/object-oriented)
-   [#arrays](https://hashnode.com/tag/arrays)

## Written by

[Rakesh Purohit](https://hashnode.com/@therakeshpurohit)

@therakeshpurohit · Surat, India.

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

React Developer Advocate @ Rocket

Web Performance and Frontend Architecture

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
