You can use Array#map
to return the new items. The items can be prepared using Array#reduce
to sum up all the inner elements.
var array = [[1], [2, 1, 1], [3, 4]];
var newArray = array
.map(arr => arr.reduce((sum, item) => sum += item, 0));
console.log(newArray);