title: JS: Use array destructuring (eslintprefer-destructuring)
body: <p>I am getting the ESLint error (<strong>Use array destructuring. eslint(prefer-destructuring)</strong>) when I do:</p>
  <pre><code>let foo = 1;
  foo = obj.data[i][1]; //ESLint error on this line
  </code></pre>
  <p>Can anyone please help to fix this?</p>