Does the addeventlistner create a new scope?

does the the addeventListener create a local scope ?,??, coz this way work for me but i don’t understand the scope rules here , coz the roundscore is in the callback function so why the roundscore is changing is the global scope

yes i hear you , but the roundscore is inside the callback function , ??? as far as iknow any function create her own scope

thank you so much now i got it