JavaScript Recursive FunctionRecursion is a process (function) that calls itself. One of many ways to approach a problem.Oct 3, 2021Oct 3, 2021
Linear Search in JavaScriptLinear Search checking every single element in an array or string one at a time and compare if it’s the value we want. Keep going until we…May 10, 20212May 10, 20212
How to Measure Time Taken by a Function to ExecuteEvery day, when we are solving problems (I mean coding something with JavaScript :)), we are facing with a choice — which method to choose…Apr 3, 20212Apr 3, 20212
useSetInterval react hook — easy way to call a function every n secondsHello folks, today we are going to create a new custom hook that implements setInterval behavior and calls a function every n seconds. As…Oct 25, 2020521Oct 25, 2020521
Custom useResize hookHello folks, let’s create useResize hook. Sometimes we need to render an element on our page depends on its width or height. And we can…Sep 29, 20205Sep 29, 20205
Remove duplicates from an Array with JavaScriptVery often we need to remove all duplicates in an array, and in JavaScript, we can do this in several ways.Sep 17, 202081Sep 17, 202081