1👍
✅
your problem is here let run = true;
this should be declared outside your´addEventListener´ not inside.
Source:stackexchange.com