re: code golf, no image desc 

FUCK there is a much better solution in the comments

Follow

re: code golf, no image desc 

_=s=>(s=s[0].toUpperCase()+s.slice(1).toLowerCase(),\`${s}${s.at(-1)=='y'?'':'y'} Mc${s.replace(/(ey|y)$/,'')}face\`) is much better way to do what i did, but the javascript in the reply to the stackexchange post is 19 characters shorter

Sign in to participate in the conversation
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.