How to get first character of string in JavaScript

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

name[0];
W