Category: ES6+

Recent Post

All you need to know about JavaScript arrow functions

Arrow functions use efficient syntax but are best avoided when using "this"

All you need to know about BigInt in JavaScript

With BigInt, we can work with (very) large numbers without losing any precision

A very simple introduction to JavaScript modules

Learn how to better organise code using reusable JavaScript modules.

What’s new for JavaScript in ES2021?

ECMAScript 2021 introduces several new features to the JavaScript language

The symbol data type: syntax and use cases

The symbol type prevents object key clashes and can help protect private data

Object destructuring: storing data from JS objects in variables

Easily extract properties from objects and store them in variables

Convert a JavaScript object to an array with Object.entries()

Easily convert a JS object to an array using the Object.entries() method.

Spreading…with the JavaScript spread operator

Using the spread operator (...), we can easily capture iterable elements and use them elsewhere.