What value set here is "this"?

What value set here is "this"?
0

#1

What mean “this” ? allString ?


#2

console.log(this);

before your for loop and you will see what it is referring to in this case


#3

Thank you. :slight_smile:


#4

Please reply what is your output, I’m pretty curious


#5

This function is counting latter in the string, it alert 5