Last Sync: 2022-06-24 20:30:04
This commit is contained in:
parent
477a14b31d
commit
70df33c703
2 changed files with 1 additions and 1 deletions
0
Data_Structures/Patterns/Module_pattern.md
Normal file
0
Data_Structures/Patterns/Module_pattern.md
Normal file
|
@ -22,7 +22,7 @@ As the name suggests, the Singleton pattern is best used in scenarios where you
|
||||||
|
|
||||||
This pattern can be implemented either with a object or a class.
|
This pattern can be implemented either with a object or a class.
|
||||||
|
|
||||||
In the example below a global store for a modern JS application is created using an object.
|
In the example below, a global store for a modern JS application is created using an object.
|
||||||
|
|
||||||
### Using an object
|
### Using an object
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue