Tell us what’s happening:
I can’t get the length of lastName.
Your code so far
// Setup
let lastNameLength = 0;
const lastName = "Lovelace";
// Only change code below this line
lastName.length
lastNameLength = 8;
Your browser information:
User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0
Challenge: Basic JavaScript - Find the Length of a String
Link to the challenge: