Articles by Olorunfemi Akinlua
How to recursively map object in JavaScript [SOLVED]
One common use case for recursive mapping is to transform an object into a new object with a different structure or format. In this article, we will discuss
Recursive search in array of objects JavaScript? [SOLVED]
Recursive search is a technique for traversing a data structure and searching for an element or elements that match a specific condition. In JavaScript, this
How to use JavaScript Recursive Generator? [SOLVED]
JavaScript recursive generators are a powerful tool that can be used to implement recursive algorithms in a more memory-efficient way. In this article, we'll
How to compare strings in JavaScript? [5 Methods]
Comparing strings in JavaScript is a common task that is frequently performed in web development. There are a few different ways to compare strings in
JavaScript Pattern Matching Examples
In JavaScript, pattern matching is a powerful tool that allows you to search, replace, and manipulate strings using regular expressions. Regular expressions,
How to use JavaScript Typed Array? [SOLVED]
JavaScript typed arrays - JavaScript | MDN (mozilla.org)
Using JavaScript Subclass [In-Depth Tutorial]
As a developer, you may often find yourself in a situation where you need to create a class that shares properties and methods with another class. This is
How to use JavaScript Optional Parameters? [SOLVED]
As a developer, there are situations where the function we create have parameters that might have default values we can. In such situations, JavaScript allows
How to use JavaScript Nested Function? [SOLVED]
JavaScript allows developers to define functions within other functions, a technique known as nested functions. Nested functions can be useful in a variety of
JavaScript Iterator and Generator [In-Depth Tutorial]
In JavaScript, an iterator is an object that defines a sequence and a return value for that sequence. It allows you to iterate over a collection of values,
How to use JavaScript instanceof operator? [SOLVED]
As a developer, you may often find yourself in a situation where you need to determine the type of an object in your JavaScript code. This is where the
Working with JavaScript Classes? [In-Depth Tutorial]
Now, assuming if we were not using JavaScript Classes then we would have used below code here:
Using JavaScript function as Values [SOLVED]
In JavaScript, functions are first-class citizens, which means that they can be treated like any other value in the language. This means that you can assign
How to use spread operator in JavaScript? [SOLVED]
The spread operator is a feature of JavaScript that allows an iterable (such as an array or a string) to be expanded, or "spread," into individual elements.
JavaScript Destructuring [In-Depth Tutorial]
JavaScript destructuring is a powerful feature that allows developers to extract values from objects and arrays and assign them to variables. It can greatly
