References
String.toUpperCase()
Leírás
Lecseréli a String példány összes karakterét nagybetűre.
Szintaxis
toUpperCase()
Példa
const sentence = 'The quick brown fox jumps over the lazy dog.'
console.log(sentence.toUpperCase())
// Expected output: "THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG."