--Local Scope and Functions --

Tell us what’s happening:
please tell me what is problem in this

Your code so far


function myLocalScope() {
  'use strict'; // you shouldn't need to edit this line
  var myVar="Hello";
  console.log(myVar);
}
myLocalScope();
// Run and check the console
// myVar is not defined outside of myLocalScope
console.log(myVar);

// Now remove the console log line to pass the test

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/local-scope-and-functions/

Hi @fcc17f7d766-b17d-42a

From the instructions:

Run the tests and then follow the instructions commented out in the editor.

I’ve highlighted the pertinent part.

thank you very much for helping