© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Nicolas CARPi
Lab geek
Do what you can to avoid global variables alltogether (maybe pass it as argument). Also, trying to use two different variables with the same name is clearly asking for troubles !
Please have a read: thevaluable.dev/global-variable-states