You have logged the length of lastName to the console but, to pass the challenge, you should be assigning it to the variable lastNameLength, using the .length property.
This means that whatever string is assigned to lastName, the value of lastNameLength will always be correct.
In the question, it was asked that the lastNameLength length should be eight and we have to print the lastName.length.
In the above code, we’ve got the output off lastNameLength as eight and we’ve logged the lastName.length as well.