Discuss / JavaScript / homework

homework

Topic source

importNew_yy

#1 Created at ... [Delete] [Delete and Lock User]
  return arr.map(function(x){
        return x = x[0].toUpperCase()+x.substring(1).to                   LowerCase();

    });

importNew_yy

#2 Created at ... [Delete] [Delete and Lock User]

return arr.map(function(x){ return x = x[0].toUpperCase()+x.substring(1).toLowerCase();

});

  • 1

Reply