If you want to map objects to something (in this case a property). I think Array.prototype.map is what you're looking for if you want to code functionally.

(fiddle)

If you want to support older browsers, that are not ES5 compliant you can shim it (there is a polyfill on the MDN page above). Another alternative would be to use underscorejs's pluck method:

var users = [
      {name: "Joe", age: 22},
      {name: "Kevin", age: 24},
      {name: "Peter", age: 21}
    ];
var result = _.pluck(users,'name').join(",")
Answer from Benjamin Gruenbaum on Stack Overflow
๐ŸŒ
MDN Web Docs
developer.mozilla.org โ€บ en-US โ€บ docs โ€บ Web โ€บ JavaScript โ€บ Reference โ€บ Global_Objects โ€บ Array โ€บ join
Array.prototype.join() - JavaScript - MDN Web Docs
If the array has only one item, then that item will be returned without using the separator. const elements = ["Fire", "Air", "Water"]; console.log(elements.join()); // Expected output: "Fire,Air,Water" console.log(elements.join("")); // Expected output: "FireAirWater" console.log(elements.join("-")); // Expected output: "Fire-Air-Water" ... A string to separate each pair of adjacent elements of the array.
๐ŸŒ
TutorialsPoint
tutorialspoint.com โ€บ typescript โ€บ typescript_array_join.htm
TypeScript - Array join()
join() method joins all the elements of an array into a string. separator โˆ’ Specifies a string to separate each element of the array. If omitted, the array elements are separated with a comma.
Discussions

How to join fields of an array of objects in javascript/typescript - Stack Overflow
The join function of an array can only be used on the whole entry, not on fields of the object that is underneath. More on stackoverflow.com
๐ŸŒ stackoverflow.com
merge two object arrays with Angular 2 and TypeScript? - Stack Overflow
Bring the best of human thought and AI automation together at your work. Explore Stack Internal ... I have gone across the JavaScript questions on this topic, this question is specifically about Angular2 with TypeScript. What I am trying to do is to concatenate the json objects to an array. More on stackoverflow.com
๐ŸŒ stackoverflow.com
javascript - Joining property values of objects in an array - Stack Overflow
I have an array of objects. The objects have a property called userName. Is there a way to concatenate the userName values into a comma delimited string? I assume I can use the join function but th... More on stackoverflow.com
๐ŸŒ stackoverflow.com
javascript - Typescript `Array.join` literal return type - Stack Overflow
Bring the best of human thought and AI automation together at your work. Explore Stack Internal ... My goal is to write a function that joins strings in an array and returns them as a literal string type ("ab"). More on stackoverflow.com
๐ŸŒ stackoverflow.com
๐ŸŒ
Codemzy
codemzy.com โ€บ blog โ€บ array-join-object-property
Using Array join() on an object property - Codemzy's Blog
May 30, 2023 - You can use Array.join() on an array of objects, but `join()` will only work with strings, so you need to get the property value(s) first. Let's look at some examples.
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ typescript-array-join-method
TypeScript Array join() Method - GeeksforGeeks
July 12, 2024 - TypeScript is an open-source programming language. It is developed and maintained by Microsoft. TypeScript follows javascript syntactically but adds more features to it. It is a superset of javascript. The diagram below depicts the relationship:Typescript is purely object-oriented with features like
๐ŸŒ
MDN Web Docs
developer.mozilla.org โ€บ en-US โ€บ docs โ€บ Web โ€บ JavaScript โ€บ Reference โ€บ Global_Objects โ€บ Array โ€บ concat
Array.prototype.concat() - JavaScript - MDN Web Docs
The concat() method of Array instances is used to merge two or more arrays. This method does not change the existing arrays, but instead returns a new array.
๐ŸŒ
DEV Community
dev.to โ€บ fullstackchris โ€บ advanced-typescript-a-generic-function-to-merge-object-arrays-18ja
Advanced TypeScript: A Generic Function to Merge Object Arrays - DEV Community
December 9, 2021 - You could explicitly write key / value assignments for the keys that you want to update... or you can leverage JavaScript's built in Object.assign function and TypeScript's generic capabilities to only write one such function for all merging actions you need across your entire app! ๐Ÿ˜„ ยท For example, in ReduxPlate, I have two types, IFile, and IEditorSettings: ... IEditorSettings extends IFile and has just one additional property: isActive. When visitors click the "Generate!" button on the MVP page, the response from the server returns an array of objects of type IFile instead of IEditorSettings, since the server is not concerned with the isActive property.
Find elsewhere
๐ŸŒ
TutorialsPoint
tutorialspoint.com โ€บ typescript โ€บ typescript_array_concat.htm
TypeScript - Array concat()
concat() method returns a new array comprised of this array joined with two or more arrays. valueN โˆ’ Arrays and/or values to concatenate to the resulting array. Returns a new array.
๐ŸŒ
Webdevtutor
webdevtutor.net โ€บ blog โ€บ typescript-join-array-of-objects
Mastering Array Join in TypeScript: Joining Arrays of Objects
Another approach is to use the ... 'Alice, Bob, Charlie' If you need to join multiple arrays of objects together, you can use methods like concat() or the spread operator to merge them....
๐ŸŒ
Educative
educative.io โ€บ answers โ€บ what-is-the-join-method-of-an-array-in-typescript
What is the join() method of an array in TypeScript?
Lines 2โ€“5: We declare three arrays: names, numbers, and cars and initialize them with elements. Line 8: We use the join() method to combine the elements of names using the separator, " ", and print the returned string to the console. Line 9: We use the join() method to combine the elements of numbers using the separator, "+", and print the returned string to the console.
๐ŸŒ
Paige Niedringhaus
paigeniedringhaus.com โ€บ merge javascript objects in an array with different defined properties
Merge JavaScript Objects in an Array with Different Defined Properties | Paige Niedringhaus
June 6, 2022 - I needed to combine all the properties of objects that shared a common key along with their defined values into a new single object. And to make it just a smidge more difficult I needed it to work in TypeScript. ๐Ÿ˜… ยท So today, I'll show you how to use JavaScript's reduce() function to merge two (or more) objects in an array with different defined properties.
๐ŸŒ
Bobby Hadz
bobbyhadz.com โ€บ blog โ€บ typescript-merge-arrays
How to merge Arrays in TypeScript | bobbyhadz
February 28, 2024 - Use the spread syntax to merge arrays in TypeScript. The spread syntax will unpack the values of the arrays into a new array.
๐ŸŒ
SPGuides
spguides.com โ€บ typescript-array-concatenation
TypeScript Merge Arrays | TypeScript Merge Two Arrays Of Objects
June 29, 2025 - To merge two arrays of objects in TypeScript, you can use the spread operator (...) for a simple concatenation. If you need to ensure uniqueness based on a specific property, use a Map to filter out duplicates.
๐ŸŒ
Medium
arek-jaworski.medium.com โ€บ how-to-join-two-arrays-of-objects-into-one-with-javascript-ab70d467cedd
How to join two arrays of objects into one with JavaScript | by Arek Jaworski | Medium
April 21, 2024 - We want to join them together into ... 'd', 'e', 'f'] We can achieve that easily with plain javascript and Array.prototype.concat() method:...
๐ŸŒ
MDN Web Docs
developer.mozilla.org โ€บ en-US โ€บ docs โ€บ Web โ€บ JavaScript โ€บ Reference โ€บ Global_Objects โ€บ TypedArray โ€บ join
TypedArray.prototype.join() - JavaScript - MDN Web Docs
July 10, 2025 - This method has the same algorithm as Array.prototype.join(). const uint8 = new Uint8Array([10, 20, 30, 40, 50]); console.log(uint8.join()); // Expected output: "10,20,30,40,50" console.log(uint8.join("")); // Expected output: "1020304050" console.log(uint8.join("-")); // Expected output: "10-20-30-40-50" ... A string to separate each pair of adjacent elements of the typed array.
๐ŸŒ
Educative
educative.io โ€บ answers โ€บ how-to-join-two-or-more-arrays-in-typescript-using-concat
How to join two or more arrays in TypeScript using concat()
In TypeScript, we can join two or more arrays using the concat() method. We can join two, three, or more arrays using this method. ... The concat() method returns a new array with all the elements of the joined arrays.