return arr.map(function(name){ return name.charAt(0).toUpperCase()+name.substring(1, name.length).toLowerCase(); });
Sign in to make a reply
NotFatCat