Tell us what’s happening:
Use the let keyword to declare a profession variable and an age variable. Initialize profession with the string “teacher”, but do not initialize age with any value.
Log both of your variables to the console to see the results.
Your code so far
// User Editable Region
let profession = "teacher";
let age;
console.log("Profession:" ,profession);
console.log("Age:", age);
// 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/133.0.0.0 Safari/537.36 Edg/133.0.0.0
Challenge Information:
Learn Introductory JavaScript by Building a Pyramid Generator - Step 13