daima,
ошибка где?
"use strict"
let arr_old = [{offer_type : 0, user_name : "x"}, {offer_type : "1" , user_name : "y"}];
let arr = arr_old.reduce((a, b, i, array)=>{
if(b.offer_type === '1'){
a.push(
Object.assign({}, b, {
user_name: `${b.user_name}`,
loading: false
})
)
};
return a
},[])
console.log(arr)