is that code good? var secondToLastLetterOfLastName = lastName[lastName.lenght - 2]; or it is possible error in tutorial ? its not the first time similar issue had been showing up, I think the code is ok, but message returns as : // running tests
secondToLastLetterOfLastName
should be ācā. You should use
.length
to get the second last letter. // tests completed
Hi sylvek7, when you get a result like this one that means all tests are passed
just a spelling error, check how you wrote this
geeting blind i guess, thank you
Hey @sylvek7, just a tip for next time if you need a help from a challenge, you can use the Get Help button on the sidebar.
Get Help
Edit: Why did you put me as the solution? I just gave you a tip. It seems like either @ilenia or @OJL helped you solved it.