i can just create a global variable and use it inside a loop without assigning it anything?
'''
var x; // Declared a variable
'''
undefined can be used inside a loop?
You can do it like that, yes. I'd highly recommend to look into array functions instead of regular for loops though
Обсуждают сегодня