I believe that the notorious global scope issue is at play here, but, more importantly, const means constant, so if you declare something const, you should not attempt to assign it.
              
              
              1 Like
            
            
          I believe that the notorious global scope issue is at play here, but, more importantly, const means constant, so if you declare something const, you should not attempt to assign it.