Category: FAQs

Recent Post

The right way to clone an object in JavaScript

We investigate how to make a proper 'deep clone' of an object in JavaScript.

Using fetch to make GET, POST, PUT and DELETE requests

Learn how to make HTTP requests in plain JavaScript using it's in-built fetch method.

Higher-order array methods with simple examples: map, filter, sort and reduce

Use flexible higher-order array methods to help achieve your programming objectives.

How to open a new browser window from JavaScript

Use the open() method on the window object to open a new window in the browser.

innerText vs textContent in JavaScript

Learn the difference between innerText and textContent!

What’s the difference between methods and functions?

Learn how methods are functions able to act upon the object in which they are stored.

How to use innerHTML safely

Learn how to render content to the DOM more securely

What is the DOM in JavaScript?

The DOM is an object through which JavaScript can manipulate live web pages.

What’s the difference between null and undefined data types?

Discover the subtle differences between these data types.