Observer pattern in Javascript

Observer pattern is common. Objects can subscribe and get notifications about other objects' changes. It's the base for MVVM, bindings and everything that can be considered »

ES6 for C# developers

ES6 came with a lot of new functionality, and finally I've found some time to go through them! I must admit - Javascript from "must" has »

Encapsulation in Javascript

How encapsulation can be achieved in Javascript: * private fields - variables trapped within a closure, * protected fields - don't use it at all, or use a »