14.07.2020
Arrow Functions and Destructuring for Object Transformation
Arrow functions and destructuring are two powerful features of JavaScript. When used in combination, they present a cool pattern that I like to call object transformation. The point is to write a simple function to change the structure of a given object while keeping (some of) the attribute values.
[читать далее]