JavaScript
React
Best Practices
Popular
Post image

Yes. JavaScript Rises.

Posted July 4, 2016
The history how JavaScript from a complementary language in 1995 became the most popular language these days.
Continue reading ➞
Post image

Power Up the Array Creation in JavaScript

ES6 improves the way arrays are created in JavaScript. See how the combination of array literal, spread operator and iterators upgrade array initialization.
Continue reading ➞
Post image

6 Ways to Declare JavaScript Functions

Updated November 2, 2019
JavaScript allows to declare functions in 6 ways. The article describes how to choose the right declaration type, depending on the function purpose.
Continue reading ➞
Post image

How Three Dots Changed JavaScript

Spread operator and rest parameter are great additions. The article explains how they improve array literals, array destructuring and function arguments handling.
Continue reading ➞
Post image

When 'Not' to Use Arrow Functions

Arrow functions in JavaScript are great, but there are cases when you should avoid them. See the common pitfalls with explanations and examples.
Continue reading ➞
Post image

JavaScript Variables Hoisting in Details

The JavaScript variables hoisting described in details and easy to follow examples. See how hoisting works in var, const, let, function and class.
Continue reading ➞
Post image

Gentle Explanation of "this" in JavaScript

Updated October 24, 2020
The value of this keyword in JavaScript is determined by how the function is called. My guide will help you effortlessly understand this.
Continue reading ➞
Post image

Inheritance in JavaScript: Understanding the constructor Property

The `constructor` property is a piece of the inheritance mechanism in JavaScript. Precautions should be taken when creating hierarchies of classes.
Continue reading ➞
Post image

Catch the XMLHttpRequest in Plain JavaScript

Posted January 24, 2016
Explanation and example on how to catch the XMLHttpRequest start and finish events in plain JavaScript. Useful for Chrome extensions development.
Continue reading ➞
Post image

The Magic Behind Array Length Property

Posted January 17, 2016
Everything you need about Array.prototype.length in JavaScript: how to correctly query, modify and avoid potential problems. Lots of code samples.
Continue reading ➞