Question 1 Given an array of strings, convert each string into:
uppercase if first letter is capital lowercase if first letter is small var arr = ['This', 'is', 'My', 'first', 'piece', 'OF', 'javaScript'];
// your code The variable arr should be now: ["THIS", "is", "MY", "first", "piece", "OF", "javascript"]
Aucun commentaire:
Enregistrer un commentaire