You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Observer.js
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
/*
2
-
* Observer Pattern
2
+
* Observer Pattern is a design pattern in which an object (known as the subject) maintains a list of objects depending on what it observes (observers),
3
+
* automatically notifying them of any changes to state.
0 commit comments