Use Bracket Notation to Find the Nth Character in a String
Summary
- Bracket notation can be used to pull a certain character from a string.
Final Code
// Setup
var lastName = "Lovelace";
// Only change code below this line
var thirdLetterOfLastName = lastName[2]; // Change this line