var gs = ['ddfg', 'dgfs'];
var jss = gs.map((far) => {
far.length;
})
console.log(jss)
var gs = ['ddfg', 'dgfs'];
var jss = gs.map((far) => {
return far.length;
});
console.log(jss)
var jss = gs.map((far) => far.length);
var gs = ['ddfg', 'dgfs'];
var jss = gs.reduce((res, far) => res + far.length, 0)
console.log(jss)
const sum = ['ddfg', 'dgfs'].join('').length;