---
title: "Discussion on \"How to transform object properties into an array in Javascript.\" | Hashnode"
description: "Discussion on \"How to transform object properties into an array in Javascript.\". I was building an API in Nodejs,then I encountered a challenge, I needed to transform some of the response object's properties into an array."
url: "https://hashnode.com/posts/how-to-transform-object-properties-into-an-array-in-javascript/614f4e1c7ef2d57e218ef77b"
---

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

Discussion

# [How to transform object properties into an array in Javascript.](https://blog.veek.me/how-to-transform-object-properties-into-an-array-in-javascript?utm_source=hashnode&utm_medium=feed)

I was building an API in Nodejs,then I encountered a challenge, I needed to transform some of the response object's properties into an array.

Sep 25, 2021 · 3 min read · blog.veek.me  
Updated Apr 25, 2022  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#objects](https://hashnode.com/tag/objects)
-   [#array](https://hashnode.com/tag/array)
-   [#apis](https://hashnode.com/tag/apis)
-   [#nodejs](https://hashnode.com/tag/nodejs)

## Written by

[Lucky victory](https://hashnode.com/@codewithveek)

@codewithveek · Lagos, NG

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

Full-stack Software Engineer

I build applications that solve real world problems. Software Engineer ▶ Typescript | JavaScript | React | Angular | NodeJS

## Responses 1

Markdown supported · ⌘↵ to post

[Dhanasekaran Ravichandran](https://hashnode.com/@dhanar98)

[Sep 26, 2021](https://hashnode.com/posts/how-to-transform-object-properties-into-an-array-in-javascript/614f4e1c7ef2d57e218ef77b/comment/614ff78494bb297e1aad79d7)

Nice Article💯

[Lucky victory](https://hashnode.com/@codewithveek)

[Sep 26, 2021](https://hashnode.com/posts/how-to-transform-object-properties-into-an-array-in-javascript/614f4e1c7ef2d57e218ef77b/comment/614ff78494bb297e1aad79d7#reply-61503aa37ef2d57e218f08df)

thanks dhanar🙌
