Tell us what’s happening:
Describe your issue in detail here.
i keep running my code and it says should be equal to 8 and its equal to 8 but my code seem incorrect dont know why
Your code so far
// Setup
let lastNameLength = 0;
const lastName = "Lovelace";
lastNameLength = lastName.length;
// Only change code below this line
lastNameLength = lastName;
Your browser information:
User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14816.131.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Challenge: Basic JavaScript - Find the Length of a String
Link to the challenge: