$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · easy · #91

Fill the blank

// returns the string in all uppercase
function shout(s: string): string {
  return s.____();
}
// shout("hi") -> "HI"

Answer: toUpperCase (also accepted: toUpperCase, toUpperCase())

toUpperCase() converts every character to uppercase.
Play Problem Solving ▸