this.checklist.filter(x=> x.isSelected).map(y =>{ return y.catItem }).join(", ")
Object.keys(arrayObject).map(key=>arrayObject[key]).reduce((old,item)=>(
{...old,...item}
),{})
Object.values(objectsLIst).reduce((old,item)=>(
{...old,...item}
),{})
const a = [{id: 1}, {id: 2}];
const b = [{id: 3}, {id: 4}];
// expected result: [{id: 1}, {id: 2}, {id: 3}, {id: 4}]
const result = a.concat(b);
console.log(result);
// outputs: [{id: 1}, {id: 2}, {id: 3}, {id: 4}]