• + 0 comments

    Javascript/Typescript: return (s.match(/[A-Z]/g)?.length ?? 0) + 1