[regression?] javascript issue with let and const variable assignation

Best practice would be to move your code into an IIFE.

1 Like