Need assistance in compare-scopes-of-the-var-and-let-keywords

Challenge Name

compare-scopes-of-the-var-and-let-keywords has an issue.

Issue Description

when I submit my answer.the console has an error :TypeError:Cannot read the property ‘challenges’ of undefined

Browser Information

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


Your Code

function checkScope() {
"use strict";
  let i = "function scope";
  if (true) {
    let i = "block scope";
    console.log("Block scope i is: ", i);
  console.log("Function scope i is: ", i);
  return i;

When I run your code, I do not get that error message in the console. Not sure why you do.

I tried once more.there’s nothing wrong with that.

:slightly_frowning_face:I think it’s my network caused this problem, It happed again for me.