1const names = ['Ali', 'Atta', 'Alex', 'John'];
2
3const uppercased = names.map(name => name.toUpperCase());
4
5console.log(uppercased);
6
7// ['ALI', 'ATTA', 'ALEX', 'JOHN']
8
1let dna = " TCG-TAC-gaC-TAC-CGT-CAG-ACT-TAa-CcA-GTC-cAt-AGA-GCT ";
2dna = dna.trim().toUpperCase();
3console.log(dna);
4