#javascript
Read more stories on Hashnode
Articles with this tag
Prototype chain inheritance Inheritance is achieved by pointing the prototype of a child class to an instance of the parent class. If a parent class...
Definition The proxy pattern is to provide a surrogate or placeholder for an object in order to control access to it. The key to the proxy pattern is...
Definition The Strategy pattern is a common and effective design pattern. It refers to defining a set of algorithms, encapsulating them one by one,...
It is well known that the two data structures Object and Map in JavaScript are very similar. However, if we look deeper into the underlying...
ECMAScript6 implements class, which is actually syntactic sugar, but it's there to make JS coding clearer and closer to object-oriented...