Answers for "can javscript key names be uppercase?"

2

javascript name capitalization

function capitalizeName(name) {
  return name.replace(/\b(\w)/g, s => s.toUpperCase());
}
Posted by: Guest on May-17-2020
0

javascript string to uppercase

var string = "To Upper Case";
console.log(string.toUpperCase()); // TO UPPER CASE
Posted by: Guest on June-19-2021

Code answers related to "can javscript key names be uppercase?"

Code answers related to "Javascript"

Browse Popular Code Answers by Language