My problem does not have to do with the coding, but with the syntax of : .lenght
it gives me an error everytime unless i dont copy-paste it from the example
Your code so far
// Setup
const lastName = "Lovelace";
// Only change code below this line
const secondToLastLetterOfLastName = lastName; // 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/129.0.0.0 Safari/537.36
Challenge Information:
Basic JavaScript - Use Bracket Notation to Find the Nth-to-Last Character in a String
its honesty not only that one challenge, even in past challenges where I needed to use the
lenghtOfRandomVar=randomVar.lenght → an example
it doesnt go right until i copy paste the .lenght value from the challenge prompt