Problem in section "Declare a Read-Only Variable with the const Keyword"

Tell us what’s happening:
I can’t pass through this test in anyway and i saw that other people had the same problem. Could someone help me?

  **Your code so far**

function printManyTimes(str) {

// Altere apenas o código abaixo desta linha

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

// Altere apenas o código acima desta linha

}
printManyTimes("freeCodeCamp");
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36

Challenge: Declare a Read-Only Variable with the const Keyword

Link to the challenge:

The challenge to which you’ve linked and the solution you’ve shown are in no way related. If you’re trying to pass the challenge to which you’ve linked:

var fCC = "freeCodeCamp"; // Change this line
var fact = "is cool!"; // Change this line
fact = "is awesome!";
console.log(fCC, fact); // Change this line

You’ll likely have to reset the lesson and start over again.

2 Likes