Console.log a const variable failed

Console.log a const variable failed


Tell us what’s happening:
My solution isn’t being accepted, although i did everything as instructed.

  • The issue is with the Console.log(SENTENCE)

Your code so far

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/66.0.3359.181 Safari/537.36.

Link to the challenge:


you have done what is required , there is a bug in this challenge and you are not the only one who got stuck in it ,just keep going and come back to it when the maintainers fixes it.


Hi, Thanks for ur time mentioning that


Just want to add my thanks as well - I was stuck on this and sure it wasn’t my code.