@camperextraordinaire thank you. @madscience1 I added let to oppsGlobal . That checked off all but the last the : opps Global should should have the value of 5. almost there.
Please look at what I have. I added let to oopsGlobal and it checked off all but the oopsGlobal 5
Thank you for your input
**Your code so far**
// Declare the myGlobal variable below this line
let myGlobal= 10
function fun1() {
// Assign 5 to oopsGlobal Here
let oppsGlobal = 5;
}
// Only change code above this line
function fun2() {
var output = "";
if (typeof myGlobal != "undefined") {
output += "myGlobal: " + myGlobal;
}
if (typeof oopsGlobal != "undefined") {
output += " oopsGlobal: " + oopsGlobal;
}
console.log(output);
}
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36