$> Destructuring in Javascript
4 minutes de lectureDestructuring applies to arrays and objects. It consists in breaking down complex structures (array, object) to extract the values we are interested in. Those manipulations make the code simpler and easier to read. let [ valeur1, valeur2 ] = tableau let { valeur1, valeur2 } = objet The syntax is different wether it is an array...