Tell us what’s happening:
Describe your issue in detail here.
Bracketing notation is not work very well.
Your code so far
// Setup
let firstLetterOfLastName = "L";
const lastName = "Lovelace";
// Only change code below this line
const firstLetter = lastName[0]; // Change this linE
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.82 Safari/537.36
Challenge: Use Bracket Notation to Find the First Character in a String
Link to the challenge: