Tell us what’s happening:
Step 12
You are now ready to declare your next variable. Remove both console.log statements, and the character reassignment.
Also remove your secondCharacter variable, but leave the character initialization unchanged.
let character = ‘Hello’;
character = “World”;
let character;
Check Your Code (Ctrl + Enter)
Sorry, your code does not pass. Hang in there.
You should not reassign the value of character.
Reset
Help
Your code so far
// User Editable Region
let character = 'Hello';
character = "World";
let character;
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Challenge Information:
Learn Introductory JavaScript by Building a Pyramid Generator - Step 12