Comment

Comment by ibmthrowaway271

Different behaviour.

capitalize downcases the rest of the each sub-string, the original code did not.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton