31
hell
8y

Global variables in JavaScript everywhere... Being accessed by every file, every function every class... Everywhere....

Comments
  • 1
    Company meeting time
  • 2
    Try that in Android Java (that is not in 'static final'), and the dev will be on the top of my murder list.
  • 3
    Rule1: Never Ever use global. Anything is better than using global

    But I know, sometimes it becomes essential to use them and whenever i have to, I refer to Rule1
  • 2
    Js iife?no ?
  • 1
    Burn it with 🔥!!
Add Comment