DEV Community

Sam Clark
Sam Clark

Posted on • Updated on


Horrible Howto - Get that Middle Initial

I really just wanted to post my first post, and I had just made this snippet, so I decided to post it here! What the hay!

const formatMiddleInitial = middleName => (middleName ? middleName.charAt(0).toUpperCase() : null);
console.log('stuff', formatMiddleInitial('clark hark'));

Oldest comments (0)

Timeless DEV post...

Git Concepts I Wish I Knew Years Ago

The most used technology by developers is not Javascript.

It's not Python or HTML.

It hardly even gets mentioned in interviews or listed as a pre-requisite for jobs.

I'm talking about Git and version control of course.

One does not simply learn git