Answers for "js get all capital letters"

2

javascript name capitalization

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

Code answers related to "js get all capital letters"

Code answers related to "Javascript"

Browse Popular Code Answers by Language