Well I’m sure my last line’s code is correct, yet your compiler insists I’m wrong. Have a look.
Your code so far
// Example
var firstName = "Ada";
var lastLetterOfFirstName = firstName[firstName.length - 1];
// Setup
var lastName = "Lovelace";
// Only change code below this line.
var lastLetterOfLastName = lastName[lastName.length - 1];
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0.
Challenge: Use Bracket Notation to Find the Last Character in a String
It may be your local environment (browser, device) to case issues, sometimes it happens.
Try making the challenges on Google Chrome and / or hard refresh the page, sometimes challenges hangs and usually a refresh is all it takes.