IRIman Roustainirousta.hashnode.dev·Apr 13, 2023 · 5 min readJavaScript Map and WeakMapIn JavaScript, Map is a built-in object that provides an easy way to store and manipulate data in key/value pairs. Map vs. Object The main difference between a Map and an Object in JavaScript is the type of their keys, as well as how they store and m...00
IRIman Roustainirousta.hashnode.dev·Mar 29, 2023 · 5 min readJavaScript Set and WeakSetIn JavaScript, a set is an object that allows you to store unique values of any type. It is a collection of values where each value occurs only once. The Set object is used to store and retrieve values, and it provides a range of methods to manipulat...00
IRIman Roustainirousta.hashnode.dev·Mar 28, 2023 · 5 min readFunction Overloading in TypeScriptFunction overloading in TypeScript is the ability of a function to be defined with multiple signatures, each defining the number and types of parameters and the return type. When a function is called, the TypeScript compiler will check each of the de...00
IRIman Roustainirousta.hashnode.dev·Mar 9, 2023 · 8 min readTypeScript Type Guards: An IntroductionType Guards are a TypeScript technique used to get information about the type of a variable, usually within a conditional or functional block. Type guards can prevent runtime errors in TypeScript by narrowing down the type of an object or variable. I...00
IRIman Roustainirousta.hashnode.dev·Mar 8, 2023 · 6 min readJavaScript Proxy: A Practical GuideIn JavaScript, a Proxy object is an object that wraps another object (target) and intercepts the fundamental operations of the target object. The Proxy object allows you to create an object that can be used in place of the original object, but which ...00