DEV Community


Discussion on: 🛑Stop using `this` instead use `globalThis` for global variables

rajdeepc profile image
Rajdeep Chandra

Yea but since a lot of frameworks and libraries are encouraging us to move to functional paradigm we might not use it in future.Nonetheless it is still a good concept to keep in mind.

Thread Thread
lampewebdev profile image
Michael "lampe" Lazarski Author

Yeah but internal stuff in the frameworks and in specific cases you will need to use it :)

Forem Open with the Forem app