I have gotten most of the way through the challenge. IT says that there is no No global myVar
variable
code so far
var globalVar = “I am global!”;
function myLocalScope() {
var myVar = “I am local!”;
‘use strict’; // you shouldn’t need to edit this line
console.log(myVar, globalVar);
}
myLocalScope();
var myVar = “I am inside another function”;
// Run and check the console
// myVar is not defined outside of myLocalScope
console.log(myVar, globalVar);
// Now remove the console log line to pass the test