How to uppercase first letter in JavaScript

Strings
By Jad Joubran · 
Last updated Dec 26, 2018
const name = "micha";

const upperFirst = name[0].toUpperCase() + name.substring(1);
Micha