Javascript Articles

Sorted By: Most Recent
Richmond Alake Richmond Alake
Updated on November 16, 2023

Bubble Sort Time Complexity and Algorithm Explained

Bubble sort is a sorting algorithm that uses comparison methods to sort an array. It has an average time complexity of O(n^2). Here’s what you need to know.

Bubble Sort Time Complexity and Algorithm Explained
Jayanth Somineni Jayanth Somineni
Updated on October 04, 2023

7 Ways to Remove Duplicates From a JavaScript Array

You often need to remove duplicates from an array in JavaScript. Here are seven ways to filter out duplicates from an array and return only the unique values.

7 Ways to Remove Duplicates From a JavaScript Array
Satyam Tripathi Satyam Tripathi
Updated on October 04, 2023

GraphQL vs REST APIs

GraphQL and REST are the two most popular methods for building APIs. Here’s how to decide which of them to use.

GraphQL vs REST APIs
Akshay Kumar Akshay Kumar
Updated on September 25, 2023

Error Handling in React With Error Boundary: A Tutorial

Error boundary is a component in React that catches an error within a component tree and prevents it from crashing the application. Here’s what to know.

Error Handling in React With Error Boundary: A Tutorial
Akshay Kumar Akshay Kumar
Updated on September 18, 2023

A Guide to Callback Functions in JavaScript

A callback function in JavaScript is a function that’s called after the first function has completed its task. Learn more about how they’re used and when to use them.

A Guide to Callback Functions in JavaScript
Antonello Zanini Antonello Zanini
Updated on September 05, 2023

How To Fix the ‘ERR_OSSL_EVP_UNSUPPORTED’ Error in Node.js

Learn how to get rid of the ERR_OSSL_EVP_UNSUPPORTED error once and for all in Node.js, React, Nuxt, Next.js, Gatsby and similar technologies.

How To Fix the ‘ERR_OSSL_EVP_UNSUPPORTED’ Error in Node.js
Jayanth Somineni Jayanth Somineni
Updated on September 05, 2023

How to Make API Calls in React With Examples

An API call in React refers to making a request to a web API from a React application. We can make an API call with: XMLHttpRequest, Fetch API or Axios.

How to Make API Calls in React With Examples
Ali Raza Ali Raza
Updated on September 05, 2023

npm ci vs. npm i: Install Node Modules Faster

npm ci performs a clean install of all existing dependencies, whereas npm install attempts to update current dependencies when possible.

npm ci vs. npm i: Install Node Modules Faster
Lorenzo Zarantonello Lorenzo Zarantonello
Updated on September 05, 2023

How To Use ForkJoin in Angular With Examples

ForkJoin is an RxJS operator that combines multiple Observables into a single Observable. Learn how to use forkJoin with an Angular example.

How To Use ForkJoin in Angular With Examples
Akshay Kumar Akshay Kumar
Updated on August 16, 2023

Top 20 Technical Interview Questions with Example Answers

Technical interviews evaluate a job candidate’s technical knowledge through coding exercises, system design discussions and behavioral questions. Review these questions to prepare.

Top 20 Technical Interview Questions with Example Answers