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 - Mozilla
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

Joining property values of objects in an array
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
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
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
Typescript join specific properties of an array as string - Stack Overflow
0 How to join fields of an array of objects in javascript/typescript More on stackoverflow.com
🌐 stackoverflow.com
🌐
GeeksforGeeks
geeksforgeeks.org β€Ί 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.
Find elsewhere
🌐
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"
🌐
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.
🌐
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.
🌐
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.
🌐
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.
🌐
MDN Web Docs
developer.mozilla.org β€Ί en-US β€Ί docs β€Ί Web β€Ί JavaScript β€Ί Reference β€Ί Global_Objects β€Ί Array β€Ί concat
Array.prototype.concat() - JavaScript | MDN - Mozilla
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.
🌐
C# Corner
c-sharpcorner.com β€Ί UploadFile β€Ί 5089e0 β€Ί array-object-in-typescriptpart2
Array Object In TypeScript: Part 2
July 19, 2024 - When no parameter is passed, this method converts all the elements of the array to strings and concatenates them separated by commas. ... span.innerText = "Join Method \n First array Sample join as simple -> " + result + "\n" + "Second array sample join with plus (+) -> " + result1 + "\n" + "Third array sample join with (*) -> " + result2 + "\n"; ... In TypeScript the lastIndexOf() method searches for the last occurrence of a string value from the given characters.
🌐
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....
🌐
SPGuides
spguides.com β€Ί typescript-array-to-string-with-separator
How to Convert Typescript Array to String With Separator?
May 17, 2013 - Here we will see how to convert an array to a string with a separator, using join() in TypeScript. The join method in TypeScript is used to join all the items of an array into a string.
🌐
SamanthaMing
samanthaming.com β€Ί tidbits β€Ί 49-2-ways-to-merge-arrays
2 Ways to Merge Arrays in JavaScript | SamanthaMing.com
Here are 2 ways to combine your arrays and return a NEW array. Here are 2 ways to combine your arrays and return a NEW array. Let's look at how we do that using spread and concat.
🌐
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.