DEV Community


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

adam_cyclones profile image
Adam Crockett • Edited

'Stop using global variables and if you have to, think about if your code is isomorphic, then if it is use globalThis'. It's a bit wordy. Sorry I think your title is better.

Thread Thread
lampewebdev profile image
Michael "lampe" Lazarski Author

haha, that's the problem with title :D
Coming up with a good title is an art.
And I'm bad at it :D

Forem Open with the Forem app