problem description
assign an array of elements to the variable, but the larger subscript is deconstructed with es6
related codes
// :
let item = array[10];
how to rewrite it with the method of es6 deconstruction? you can"t write it like this. If the subscript is 100jue 1000.
let [,,,,,,,,,item] = array;
solution