Discuss
/
JavaScript
/
homework
homework
Topic sourcereturn arr.map(function(x){ return x = x[0].toUpperCase()+x.substring(1).toLowerCase();
});
- 1
return arr.map(function(x){ return x = x[0].toUpperCase()+x.substring(1).toLowerCase();
});
importNew_yy