freeCodeCamp Challenge Guide: Use export to Share a Code Block

Use export to Share a Code Block


Solutions

Solution 1 (Click to Show/Hide)
export const uppercaseString = (string) => {
  return string.toUpperCase();
}

export const lowercaseString = (string) => {
  return string.toLowerCase()
}
1 Like