Category Archives: Blog

Understanding Weak Reference In JavaScript

Memory and performance management are important aspects of software development and ones that every software developer should pay attention to. Though useful, weak references are not often used in JavaScript. WeakSet and WeakMap were introduced to JavaScript in the ES6 version. Weak Reference To clarify, unlike strong reference, weak reference doesn’t prevent the referenced object…