You have not used the length property to set lastNameLength. You just hard-coded the length with a number. You have used the length property in the console.log below though. So why don’t you do the same thing for setting the value of lastNameLength?
The length of a string in JavaScript can be found using the .length property . Since . length is a property it must be called through an instance of a string class.