loading...

re: Design Patterns for Developers using JavaScript - Part Two VIEW POST

FULL DISCUSSION
 

Is it me or the singleton pattern is embedded twice? Once in the Singleton Pattern section and once in the Constructor Pattern?

 

From my end they are different but the constructor has two different codes; one using prototype and the other using classes

code of conduct - report abuse