I am getting the ESLint error (Use array destructuring. eslint(prefer-destructuring)) when I do:
let foo = 1;
foo = obj.data[i][1]; //ESLint error on this line
Can anyone please help to fix this?
I am getting the ESLint error (Use array destructuring. eslint(prefer-destructuring)) when I do:
let foo = 1;
foo = obj.data[i][1]; //ESLint error on this line
Can anyone please help to fix this?