Store the First Character
Assign the first character of the string word to the variable firstChar using JavaScript's string indexing. Remember, the first character of a string is at index 0.
Tip:
Tip:
word[3]
gives you the 4th character.Premium
JavaScript
Console