Anna VlasenkoJavaScript Recursive FunctionRecursion is a process (function) that calls itself. One of many ways to approach a problem.Oct 3, 2021Oct 3, 2021
Anna VlasenkoLinear 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, 2021May 10, 2021
Anna VlasenkoHow 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, 2021Apr 3, 2021
Anna VlasenkouseSetInterval 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, 20201Oct 25, 20201
Anna VlasenkoCustom 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, 2020Sep 29, 2020
Anna VlasenkoRemove 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, 20201Sep 17, 20201