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
🌐
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
Combine objects in an array of objects in Typescript?
Create the output object and specify its type. Use Array#filter to select the entries in data with the matching type. Use Array#flatMap to select the features array from each of the entries above and project their contents into a single array. More on stackoverflow.com
🌐 stackoverflow.com
merge two object arrays with Angular 2 and TypeScript? - Stack Overflow
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. My ... More on stackoverflow.com
🌐 stackoverflow.com
How can I merge two arrays of different objects but equal length?
Use the spread operator to merge objects, and do so in a loop: mergedArray = [] for (let i = 0; i < arrayOne.length; i++) { newObject = {...arrayOne[i], ...arrayTwo[i] } mergedArray.push(newObject) } More on reddit.com
🌐 r/learnjavascript
7
2
March 24, 2021
🌐
Codemzy
codemzy.com › blog › array-join-object-property
Using Array join() on an object property - Codemzy's Blog
May 30, 2023 - I've added a space after the comma by passing a string (", ") to .join() to use as the separator. Let's break that down so it's really clear what is happening at each stage. // the array of objects let names = [ { first: "Roger", last: "McRogerson" }, { first: "Peter", last: "Peterson" }, { first: "Jane", last: "Janeson" } ]; // create an array of the property values you need as strings let namesValues = names.map((name) => `${name.first} ${name.last}`); console.log(namesValues); // ["Roger McRogerson", "Peter Peterson", "Jane Janeson"] // join them to become a string with a comma separator let joinedNames = namesValues.join(", "); console.log(joinedNames); // "Roger McRogerson, Peter Peterson, Jane Janeson"
🌐
GeeksforGeeks
geeksforgeeks.org › typescript › typescript-array-join-method
TypeScript Array join() Method - GeeksforGeeks
July 12, 2024 - The Array.join() method in TypeScript is a built-in function used to join all the elements of an array into a single string.
🌐
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....
🌐
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.
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › JavaScript › Reference › Global_Objects › Array › join
Array.prototype.join() - JavaScript - MDN Web Docs
The join() method of Array instances returns a new string that is the concatenation of all elements in this array, separated by commas or a specified separator string. If the array has only one item, that item's stringification is returned without using the separator.
Find elsewhere
🌐
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.
🌐
TutorialsPoint
tutorialspoint.com › typescript › typescript_array_concat.htm
TypeScript - Array concat()
TypeScript - Discussion · Selected ... · Who is Who · Previous · Quiz · Next · concat() method returns a new array comprised of this array joined with two or more arrays....
🌐
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.
🌐
Medium
daimmughals.medium.com › merging-arrays-in-typescript-d8bc5803c096
Merging Arrays in TypeScript. Have you ever come across a problem… | by Daim | Medium
August 20, 2023 - Merge Arrays in TypeScript using concat() function · Alternatively we can also use .concat() function in javascript and typescript. This functions collects the items of two array and merge the items together in one.
🌐
Java Guides
javaguides.net › 2025 › 01 › typescript-array-join.html
TypeScript Array join()
January 4, 2025 - In this chapter, we will explore the join() method for arrays in TypeScript. This method is a built-in function that helps in concatenating all the elements of an array into a single string.
🌐
JavaScript in Plain English
javascript.plainenglish.io › advanced-typescript-a-generic-function-to-merge-object-arrays-cb0bd9a5c382
Advanced TypeScript: A Generic Function to Merge Object Arrays | by Chris Frewin | JavaScript in Plain English
June 14, 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: Join Medium for free to get updates from this writer. ... 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.
🌐
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 preserves empty slots if any of the source arrays is sparse. The concat() method is generic. The this value is treated in the same way as the other arguments (except it will be converted to an object first), which means plain objects will be directly prepended to the resulting ...
🌐
GeeksforGeeks
geeksforgeeks.org › typescript › typescript-array-concat-method
TypeScript Array concat() Method - GeeksforGeeks
July 15, 2025 - The TypeScript Array.concat() method merges two or more arrays into a new array. It takes multiple arrays and/or values as parameters and returns a single array containing all the elements.