0

I have some misunderstanding, when i am running this simple code it shows me two letter "L",but i would like to see full letters vertically like "hello" but in this case it tells"he(2"L")o",why?

var str = "hello"; 
var count = 0; 
while(count < str.length){     
console.log(str[count]);     
count++; 
}

0 Answers0