Javascript Articles

Sorted By: Most Recent
Sanchitha Sharma Sanchitha Sharma
Updated on May 13, 2024

How to Convert a JavaScript String to a Number

Converting a JavaScript string into a number is useful for comparing numerical data that comes in string format and completing math operations. Here are seven methods to do it.

Image: Shutterstock / Built In
Milos Davidovic Milos Davidovic
Updated on April 10, 2024

How to Check If an Object Has a Property in JavaScript

There are several methods to check if an object has a property in JavaScript, including the in operator, object.hasOwn() method, checking for undefined value and more.

Image: Shutterstock / Built In
K. Jagathish K. Jagathish
Updated on April 01, 2024

How to Use URLSearchParams in JavaScript

URLSearchParams is a JavaScript API that allows users to retrieve and work with data in the URL query parameters. Learn how to use it.

Image: Shutterstock / Built In
Niraj Tulsyan Niraj Tulsyan
Updated on March 18, 2024

It’s Time to Make the Switch From Ruby on Rails to Javascript

Ruby on Rails has long been a staple for building web applications, but JavaScript’s flexibility has made it the go-to programming language. Here’s why it’s time to make the switch. 

Image: Shutterstock / Built In
Alex Zelinsky Alex Zelinsky
Updated on February 16, 2024

3 Ways to Find the Maximum Value in a JavaScript Array

Arrays are a versatile structure in JavaScript that holds multiple data types. Find the maximum value in an array using for loop, math.max() and the reduce method.

Image: Shutterstock / Built In
Harikrishna Kundariya Harikrishna Kundariya
Updated on January 30, 2024

15 Top React Carousel Component Libraries to Know

React carousel libraries offer a UI component that enables users to navigate through different items on a page efficiently. Here are the most common ones.

Image: Shutterstock / Built In
Akshay Kumar Akshay Kumar
Updated on January 30, 2024

A Guide to Web Development Frameworks

A web development framework is a collection of tools, libraries and best practices that make it easier to create, maintain and scale websites. Here’s how to pick the right one for your team.

Image: Shutterstock / Built In
Parul Malhotra Parul Malhotra
Updated on January 10, 2024

Why 0.1 + 0.2 Doesn’t Equal 0.3 in Most Programming Languages

In code, 0.1 + 0.2 doesn’t equal 0.3 due to floating point arithmetic. Learn why that is and how floating point arithmetic works.

Image: Shutterstock / Built In
Muhammad Hasan Muhammad Hasan
Updated on December 13, 2023

What Are the Three Dots (...) in JavaScript?

The three dots (...) in JavaScript is known as the spread operator, and it’s used to make shallow copies of JavaScript objects.  

Image: Shutterstock / Built In
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.

Image: Shutterstock / Built In