Hi friends I\'m beginner for javascript how i sum same n no\'s of object name corresponding value and push the result to new array.see this is sample object
va
const newArray = initialArray.map(({team_name, ...restProps}) => { return { [team_name]: {...restProps} }; });
See: