What exactly is the difference between these 2?
Also, in my own personal RMMV JS plugin, using var in a for loop like the above works like it should but using let in a for loop like above iterates much more and gives too much and too weird results.
JavaScript:
for(var i = 0; i <= 5; i++)
for(let v = 0; v <= 5; v++)
Also, in my own personal RMMV JS plugin, using var in a for loop like the above works like it should but using let in a for loop like above iterates much more and gives too much and too weird results.