79127478

Date: 2024-10-25 22:38:21
Score: 0.5
Natty:
Report link

Simply change the regex to exclude the apostrophes.

.replace(/[^a-zA-Z0-9]+(.)?/g, (_, char) => (char ? char.toUpperCase() : "")) // Remove non-alphanumerics and capitalize next character.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Adil