JavaScript Revealing Prototype Pattern - Error Prone Point

The pattern has a unsafe context switching.
It can make you pain.

Look at JSFiddle
Revealing Prototype Pattern error prone point

Think twice before use it.
Revealing Module Pattern is cool (and FFE).

Comments

Popular posts from this blog

Projects list

Day-to-day use of the Pure Git with Convention over Git

Glossary of synchronization of remote Git repositories