Bug in ' ES6: Declare a Read-Only Variable with the const Keyword' challenge

I think there is a bug in the ‘ES6: Declare a Read-Only Variable with the const Keyword’ challenge.

Here is my code:

function printManyTimes(str) {
  "use strict";

  // change code below this line

  const SENTENCE = str + " is cool!";
  for(let i = 0; i < str.length; i+=2) {
    console.log(SENTENCE);
  }

  // change code above this line

}

printManyTimes("freeCodeCamp");

…and here is the output:

// running test
Unexpected token ?
// tests completed
1 Like

I’m getting exactly the same error.

1 Like

Ditto for me… same error… :frowning:

looks like the fix is waiting to be implemented into production still