Learn Introductory JavaScript by Building a Pyramid Generator - Step 10

Tell us what’s happening:

You should assign the value of the character variable to your secondCharacter variable. Don’t forget your semi-colon.

Your code so far

let character = 'Hello';
console.log(character);
character = "World";
let secondCharacter;

// User Editable Region

secondCharacter = "World";
character= "One";
character = secondCharacter;

// User Editable Region

console.log(secondCharacter);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 10

you’re asked to assign
character value
to
secondCharacter variable

not the reverse.