Destructuring in JavaScript
Introduction
The advent of ECMAScript 6 (ES6) in 2015 made JavaScript more exciting and brought about various fascinating features, including destructuring. This new feature was created to aid in the handling of arrays and objects.
This article will ...
olaitanferanmi.hashnode.dev6 min read
Gemma Black
I never thought about renaming properties in an object with destructuring. I didn't even realise we could do that. Nice!