Learn Introductory JavaScript by Building a Pyramid Generator - Step 6

Tell us what’s happening:

// running tests
You should use character twice in your code.
Your reassignment should not use let.
// tests completed
// console output
Hello
World

Your code so far


// User Editable Region

var character = 'Hello'; // Initial assignment
console.log(character);  // Output the initial value

// Reassign the 'character' variable to "World" without using 'let'
character = 'World'; 

console.log(character); // Output the new value









// 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/127.0.0.0 Safari/537.36

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 6

Please Tell us what’s happening in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more you say, the more we can help!