Object-oriented Programming in vanilla JavaScript

JavaScript is a powerful object-oriented programming (OOP) language, however, unlike many traditional programming languages, it uses a… Read more

Similar

Asynchronous vs. Deferred JavaScript

In my article on Understanding the Critical Rendering Path, I wrote about the effect JavaScript files have on the Critical Rendering Path. JavaScript is considered a "parser blocking resource". This means that the parsing of the HTML document itself i... (more…)

Read more »

Copying Objects in JavaScript

In this article we will look at the various ways an object can be copied in Javascript. We will take a look at both shallow and deep copying. While shallow copying is rather straightforward, deep copying is more tricky. Currently, there is a HTML5 specifi... (more…)

Read more »