|
|
|
|
|
by MatthiasPortzel
977 days ago
|
|
I learned how to do this shortly before JS added class syntax. While the class syntax is more ergonomic, I appreciate how this technique allows all standard OOP features and it emerges only from first-class functions and objects. |
|