uppercase javascript

58

how to convert string to uppercase in javascript -

const upperCase = (string) => {
  const newText = string.toUpperCase();
  return newText;
};

Comments

Submit
0 Comments