Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Level -5 and lesson -3 question not shown the result

"output not display on the terminal"
by

1 Answer

iamabhishek
This is the correct code for this lesson:

let i = 0;
const str = "studytonight";
// write your code here
while (i < str.length)
{
console.log(str[i] + "");
i++;
}

Login / Signup to Answer the Question.