Olorunfemi Akinlua

Olorunfemi Akinlua

at · 174 articles published

Boasting over five years of experience in JavaScript, specializing in technical content writing and UX design. With a keen focus on programming languages, he crafts compelling content and designs user-friendly interfaces to enhance digital experiences across various domains.

Areas of expertise

Articles by Olorunfemi Akinlua

How to use JavaScript toFixed() Method? [SOLVED]

The toFixed() method in JavaScript is used to convert a number to a string, rounding the number to a specified number of decimal places. This method takes a

How to create JavaScript Timed Events? [SOLVED]

JavaScript Timed Events are a type of event that can trigger a function after a set amount of time has passed. We can use Timed Events to create things like

Wait for async function to finish in JavaScript [SOLVED]

Luckily, JavaScript provides us with a few ways to do this. In this article, we'll take a look at how to use Promises and async/await to wait for async

Parse CSV to Array in JavaScript [10 Methods]

In the world of data manipulation and analysis, the need to convert CSV to array formats is increasingly common. Whether you're building a data visualization

What is JavaScript equivalent to C# HashSet? [SOLVED]

A HashSet is a data structure that stores data in an unordered fashion, using a hash function to map each data item to a unique key. This allows for fast

How to use replaceAll() with regex JavaScript? [SOLVED]

JavaScript provides an instance method called the replaceAll method which allows us to match patterns within a string and returns a new string with the

Check if String is Number in JavaScript [10 Methods]

Discover the essentials to proficiently check if string is number in JavaScript. Dive into a comprehensive guide filled with various methods, tips, and best …

How to get width of element in JavaScript? [SOLVED]

In web development, JavaScript is the go-to language to interact, manipulate or work with HTML elements or more broadly, the Document Object Model (DOM) that

How to print object in JavaScript? [SOLVED]

Everything in JavaScript is an object. So simply, in order to print objects in JavaScript, you will need to use the console.log() method. This method takes an

How to use variable inside regex in JavaScript? [SOLVED]

We can use regexp to use variable inside regex in JavaScript

Date Formatting in JS [SOLVED]

Different methods to perform date formatting in JS (JavaScript) using Intl.datetimeformat method.

JavaScript Bitwise XOR (^) Operator Usage Explained

The bitwise javascript XOR operator is represented by a caret (^) and also works on two values.

JavaScript slice() Usage Explained for Beginners

The javascript slice method returns a slice, or subarray, of the specified array. Its two arguments specify the start and end of the slice to be returned.

How to convert String to Boolean JavaScript? [SOLVED]

There are two methods to convert string to boolean in JavaScript. Use the Boolean method or use the ! operator to convert string to Boolean

Difference between calling and invoking a function in JS

So, to recap, the main difference between calling and invoking a function is that when you invoke a function you are also specifying the context in which the