Tell us what’s happening:
Describe your issue in detail here.
Your code so far
// Setup
const lastName = "Lovelace";
// Only change code below this line
const secondToLastLetterOfLastName = lastName[lastName.length - 2]; // Change this line
Your browser information:
User Agent is: Mozilla/5.0 (Linux; Android 9; vivo 1921) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
Challenge Information:
Basic JavaScript - Use Bracket Notation to Find the Nth-to-Last Character in a String