Javascript course bug

There is a bug in the JS course at Length of String ive used the solution but it still didnt work it still shows “You should not change the variable declarations in the // Setup section.” even tho i copy pasted the solution and watched a couple of videos on youtube but it still didnt work

Please post your code and a link to the challenge so we can help you fix your code. Thanks

The correct solution is working fine for me.

// Setup

var lastNameLength = 0;

var lastName = “Lovelace”;

// Only change code below this line

lastNameLength = lastName.length;

console.log(lastNameLength)

but ive used a different one before too

Here is the original code provided to you:

// Setup
let lastNameLength = 0;
const lastName = "Lovelace";

// Only change code below this line
lastNameLength = lastName;

It looks like you did, in fact, change code above the comment that says // Only change code below this line, which is causing the tests to fail.

thats the code in the solution video but still thank you very much

If you ever see a difference between a video or the written instructions, the written instructions are always right.