DEV Community


Discussion on: Singleton Pattern in Javascript

devdufutur profile image
Rudy Nappée

With ES6 modules you have ready to use singletons 😉

bibekkakati profile image
Bibek Author

Yeah, we can achieve same thing with modularisation approach but if you want to go with a standard design pattern then Singleton is there 😁.

Forem Open with the Forem app