Requires that variable assignment from array values are * destructured.
Type: Boolean
Values: true
Version: ES6
"requireArrayDestructuring": true
var colors = ['red', 'green', 'blue'];
var [ red ] = colors;
var attributes = {
colors: ['red', 'green', 'blue'];
};
var [ red ] = attributes.colors;
var colors = ['red', 'green', 'blue'];
var red = colors[0];
var attributes = {
colors: ['red', 'green', 'blue'];
};
var red = attributes.colors[0];