Tell us what’s happening:
Your code so far
*The thirdLetterOfLastName variable should have the value of v.
// Setup
var lastName = "Lovelace";
// Only change code below this line
var thirdLetterOfLastName = lastName[1]; // Change this line
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36
.
Challenge: Use Bracket Notation to Find the Nth Character in a String
Link to the challenge: