Category: FAQs

Recent Post

How to Remove Duplicate Objects from an Array

When deciding which method to choose, object type should be taken into account.

Check Total, Used and Remaining Space Available in localStorage

By pushing data into loca, it is possible to calculate total and available space.

How to Remove Falsy Values from an Array

How to remove falsy values or only some falsy values.

Natively deep copy a JavaScript object or array with structuredClone()

structuredClone() is a new native solution for deep copying JavaScript data objects.

Image URL to Blob in JavaScript

Let Fetch's response.blob() method do the hard work!

What is a Blob object in JavaScript?

A Blob object is used for accessing, encoding and transferring files and file-like objects.

How to check if a property exists in a JavaScript object

Learn methods for searching an object and its prototype for the existence of properties.

Check if a key exists in localStorage

To check for an item, get the value of the item by querying localStorage by its key.

How to save and retrieve images from localStorage

You can use the FileReader API to create a data URL and pass this through localStorage.

How to create and decode a query string in JavaScript

A query string is used to store string data as part of a URL.