Ad
  • Custom User Avatar

    This function takes a string as input, splits it into individual characters, and then uses map to transform each character into a string where it's capitalized and followed by its lowercase form repeated according to its index position. Finally, these transformed strings are joined with hyphens - to form the resulting string.