More detailsThe toUpperCase() method converts a string to uppercase./** * πͺ Qit.tools * https://qit.tools */ const text = "new-york"; console.log(text.toUpperCase()); // NEW-YORK