Is this challenge bugged?

I think that this challenge is seriously bugged somehow…

ive tried loads of things and i couldnt move forward…
or maybe i havent got something right?

Your code so far

function myLocalScope() {
  'use strict';
  var myVar = "Teste";
var myVar = "teste";
// Run and check the console
// myVar is not defined outside of myLocalScope

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

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36.

Link to the challenge:

Why did you create a global variable named myVar? The instructions did not say to do that in addition to adding the local variable myVar inside the function named myLocalScope.

1 Like

the problems persists

cant think about anything wrong here