Blog

How to Convert Array of Objects into Comma Separated String extracting only one property

image

Hi,

I’d like to share a quick solution which always is really useful when you are handling complex object-type data structures in JavaScript / ES6 / TypeScript.

That code will be useful when you want to extract some property values from an array of objects.

I will share two versions one for EcmaScript 5 and other for EcmaScript 6:

If you find other way to do the same with a better performance, please let me know!!

Enjoy!

Leave a Reply

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.

Post Navigation