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.
๐ŸŒ
YouTube
youtube.com โ€บ watch
015 Merge Two Arrays - JavaScript, Typescript, Python, Go & Rust - YouTube
#javascript #typescript #python #golang #golanguage #rustlang #rustprogramming Hi Everyone!In this challenge, your task is to combine two arrays into one.*...
Published: September 4, 2025
Discussions

Typescript `Array.join` literal return type
This does not answer the question, ... join an array of compile-time constants and have the returned type be the literal 'ab' and not string. 2024-01-23T14:10:58.843Z+00:00 ... Find the answer to your question by asking. Ask question ... See similar questions with these tags. ... Help me join Stack Overflow ... 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
July 31, 2020
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
Defining return type of function that returns an array of results of calling a factory function with different specific generics
If I'm understanding correctly, the Payload[] passed to createConfigs should be a generic, and the returned type should be a mapped type. More on reddit.com
๐ŸŒ r/typescript
9
3
October 7, 2023
๐ŸŒ
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.
๐ŸŒ
Python Examples
pythonexamples.org โ€บ typescript โ€บ how-to-join-arrays
How to Join Arrays in TypeScript
To join arrays in TypeScript, you can use the concat method or the spread operator (...).
๐ŸŒ
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.
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.
๐ŸŒ
Python Guides
pythonguides.com โ€บ join-method-to-combine-array-of-strings-in-typescript
How To Use Join() Method To Combine Array Of Strings In TypeScript?
February 2, 2025 - This method is particularly useful ... ... The join method in TypeScript is a built-in function that allows you to concatenate all elements of an array into a single string, with an optional separator between each element....
๐ŸŒ
Ramesh Fadatare
rameshfadatare.com โ€บ home โ€บ typescript array join()
TypeScript Array join()
July 9, 2024 - separator (optional): A string to separate each pair of adjacent elements of the array. If omitted, the array elements are separated with a comma (,). The method returns a string with all array elements joined together, separated by the specified separator. Letโ€™s look at some examples to understand how join() works in TypeScript.
๐ŸŒ
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 - I've also written a detailed article on how to create a union type from an array or object. You might also see the Array.concat() method used to merge arrays in TypeScript.
๐ŸŒ
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.
๐ŸŒ
C# Corner
c-sharpcorner.com โ€บ UploadFile โ€บ 5089e0 โ€บ array-object-in-typescriptpart2
Array Object In TypeScript: Part 2
October 9, 2019 - In this article, I am describing the TypeScript array methods Join and lastIndexOf. In TypeScript the join() method is used to join the elements of an array into a string and return the 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....