Basic JavaScript - Find the Length of a String

For unknown mistake ,it keeps says there’s something changed in the //Setup section.
Although I reset the test, nothing changed!

please help! :smiling_face_with_tear:

// Setup
var lastNameLength = 0;
var lastName = "Lovelace";

// Only change code below this line

lastNameLength = lastName.length;

should be
let lastNameLength = 0;
const lastName = “Lovelace”;

not “var” for both

1 Like

YES!!
it worked ! :tired_face: :heart_eyes_cat:
thanks a lot :smiling_face: