📜  javascript 大写 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:15.759000             🧑  作者: Mango

代码示例6
let dna = " TCG-TAC-gaC-TAC-CGT-CAG-ACT-TAa-CcA-GTC-cAt-AGA-GCT    ";
dna = dna.trim().toUpperCase();
console.log(dna);