return all array elements with a capital word in string javascript code example
Example: capitalize first letter in array of strings javascript
for(var i = 1 ; i < newArr.length ; i++){
newArr[i].charAt(0).toUpperCase();
for(var i = 1 ; i < newArr.length ; i++){
newArr[i].charAt(0).toUpperCase();