In this article, I have explained forEach loop in javascript. This loop works only with Arrays, Maps and Sets.

JavaScript destructuring assignment is another feature deployed as a part of the ECMAScript release in 2015. Destructuring is a simple javascript expression, that is used to unpack values from an array, or unpack properties from an object.