Throttle in JavaScriptIn JavaScript, throttling is a technique used to control the rate at which a function gets executed. It ensures that the function is called at a maximum frequency or delay, regardless of how frequently the function is invoked. Throttling is commonly ...Aug 14, 2023 · 3 min readindracit.hashnode.dev
Memoization in JavaScriptSure! Memoization is a technique used in programming to optimize the performance of functions by caching their results. It involves storing the results of expensive function calls and returning the cached result when the same inputs occur again. This...Aug 13, 2023 · 2 min readindracit.hashnode.dev
Debouncing in JavaScriptSure! Debouncing is a technique in JavaScript used to control the frequency of a function's execution. It is commonly used in scenarios where a function is called multiple times in a short period, such as when handling user inputs like scroll events,...Aug 12, 2023 · 2 min readindracit.hashnode.dev
IIFE in JavaScriptIIFE stands for Immediately Invoked Function Expression. It is a JavaScript design pattern that allows you to create a function and execute it immediately after its definition. The main purpose of using an IIFE is to create a private scope for your c...Aug 11, 2023 · 2 min readindracit.hashnode.dev
Shallow Copy and Deep copy in JavaScriptIn JavaScript, when you work with objects and arrays, you may encounter the concepts of deep copy and shallow copy. These concepts refer to different ways of copying an object or an array and determine how the copied data is stored and referenced. Le...Aug 9, 2023 · 3 min readindracit.hashnode.dev