BUG ? Declare a Read-Only Variable with the const Keyword

can not passing last condition
console.log should be changed to print the SENTENCE variable.

my code is here

function printManyTimes(str) {
  "use strict";

  // change code below this line

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

  // change code above this line


Your browser information:

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

Link to the challenge:

Bugs should be reported as GitHub Issues. Before creating an issue, please do a search to make sure that it hasn’t already been reported.

1 Like