Array Destructuring in ES6
Array Destructuring
Array Destructuring allows JavaScript expression to make it possible to unpack values from arrays, or properties from objects, into distinct variables. Destructuring actually means breaking down of array into individual elements.
Syntax:-
let array = new Array("value 1", "value 2", "value 3");
let [first_value, second_value, third_value] = array;
document.write("First Value: " + first_value: + ", Second Value: " + second_value: + ", Third Value: " + third_value);