Skip to content

Commit 0e48675

Browse files
committed
q27 typo
1 parent 1353b53 commit 0e48675

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@ Variables and functions that you declare inside an IIFE are not visible to the o
953953
code, it helps to prevent polluting the global scope and provide the module interface to the outside.
954954

955955

956-
## Question 27. Describe Singleton Pattern In JavaScriptю
956+
## Question 27. Describe Singleton Pattern In JavaScript
957957
### Answer
958958

959959
The singleton pattern is an often used JavaScript design pattern. It provides a way to wrap the code into a logical unit that can be accessed through a single variable. The Singleton design pattern is used when only one instance of an object is needed throughout the lifetime of an application. In JavaScript, Singleton pattern have many uses, they can be used for NameSpacing, which reduce the number of global variables in your page (prevent from polluting global space), organizing the code in a consistent manner, which increase the readability and maintainability of your pages.

0 commit comments

Comments
 (0)