Javascript Articles

Sorted By: Most Recent
Ramu Narasinga Ramu Narasinga
Updated on February 11, 2025

Tsup: A Guide to the TypeScript Bundler

Tsup is a zero-configuration bundler that makes it easier for users to bundle their TypeScript libraries into one file. Learn how to implement it.

Image: Shutterstock / Built In
MD. Jahid Hossain MD. Jahid Hossain
Updated on February 06, 2025

JavaScript Closures: A Guide 

JavaScript closures are created when a function is defined within another function. It’s a powerful concept that can lead to more efficient code. Learn more.

Image: Shutterstock / Built In
Akshay Kumar Akshay Kumar
Updated on February 06, 2025

55 Top JavaScript Interview Questions With Example Answers

Review these common JavaScript interview questions and answers and practice your coding fundamentals with this guide to ace your next interview.

Image: Shutterstock / Built In
Akshay Kumar Akshay Kumar
Updated on February 04, 2025

Guide to the JavaScript Reduce() Method

The JavaScript reduce() method is a higher order function that reduces arrays to a single value. Here’s what to know and how to use it.

Image: Shutterstock / Built In
Rajnish Katharotiya Rajnish Katharotiya
Updated on January 22, 2025

How to Check if All Array Values Are Equal in JavaScript

JavaScript’s allEqual() function can be used to check whether every value of an array is equal. Here’s how to use it.

Image: Shutterstock / Built In
Nicholas Charles Nicholas Charles
Updated on January 16, 2025

How to Build a Speech-to-Text App in JavaScript With Web Speech API

Web Speech API can convert speech to text. Learn how to build a real-time speech-to-text web app using the API in JavaScript with code. 

Image: Shutterstock / Built In
Akshay Kumar Akshay Kumar
Updated on December 17, 2024

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.

Image: Shutterstock / Built In
Trung Thanh Le Trung Thanh Le
Updated on December 17, 2024

How to Get the Last Element of an Array in JavaScript

There are several ways to get the last element of a JavaScript array, including length property and square bracket notation, slice() method and pop() method. Here are nine methods to try.

Image: Shutterstock / Built In
Richmond Alake Richmond Alake
Updated on December 06, 2024

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.

Image: Shutterstock / Built In
Reza Lavarian Reza Lavarian
Updated on December 05, 2024

Error: Cannot Find Module in Node Solved

Error: cannot find module most commonly occurs when a non-existent module is attempting to be loaded in Node. Here’s how to fix it.

Image: Shutterstock / Built In