Javascript

ECMAScript - Grouping arrays using Object.groupBy and Map.groupBy

This blog explains the features of the latest ECMAScript proposal Object.groupBy and Map.groupBy that reached stage 4.

Understanding Generators, Iterators, and Iterator Helpers in JavaScript

Understand JavaScript generators for pausing functions, ideal with large datasets. Learn iterator basics, next() method, and efficient iteration with helpers

ECMAScript 2023 - Exploring New Features

In this blog, we'll dive into the ECMAScript 2023 updates, highlighting four significant new features that promise to streamline our coding experience.

Replace lodash.get method with optional chaining and nullish-coalescing operator

Learn how to replace the popular lodash.get() method with the new optional chaining and nullish-coalescing operator introduced in ES11(ES2020).

Learn about tree shaking in Webpack 5

Tree shaking is a technique used by webpack to optimize the builds for production and reducing the build size by shaking off the dead code from its branches (modules).

Ecma International approves ECMAScript 2022

ECMAScript 2022 is officially a standard now! Let's see what's new in ECMAScript 2022.

ECMAScript 2022: Ergonomic brand check for private fields

ECMAScript 2022 provides a simpler way to check if an object has a given private field using the 'in' operator.

ECMAScript 2022 introduces at() method in Array, String, TypedArray

The at() method takes an integer value and returns the element at that index. It allows both positive and negative integers. Negative integers denote counting back from the last item in the array.

ECMAScript: Top-level await

We can only use await operator within an async method. In ECMAScript 2022 we will be able to use it outside of the context of an async method in our modules.

Understanding static class features in JavaScript (ECMAScript 2022)

Private and public static fields along with private static methods would be officially included in ECMAScript 2022.