Destructuring in ES6
This is a short guide for using destructuring in Array and Objects.
Nov 17, 20224 min read45

Search for a command to run...
Articles tagged with #web-development
This is a short guide for using destructuring in Array and Objects.

The rest parameter for function parameters was introduced in ES6 to help us create more flexible functions. The rest parameter syntax allows a function to accept an indefinite number of arguments. These arguments are stored in an array that can be ac...

Objects can be considered as key/value storage, like a dictionary. If you have tabular data, you can use an object to look up values rather than a switch statement or an if/else chain. This is most useful when you know that your input data is limited...
