DEV Community

Discussion on: Top 10 JavaScript Patterns Every Developer Likes

Collapse
 
omancoding profile image
OmanCoding

Observer Pattern,
Would not events and event listeners will do the same?

Collapse
 
shijiezhou profile image
Shijie Zhou

Yeah, you can say that the events listeners extends the events. People use that as pattern for their purpose.