🐊Putout plugin adds ability to remove useless array inside property accessors
npm install @putout/plugin-remove-useless-array[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-useless-array.svg?style=flat&longCache=true
[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-useless-array "npm"
> Property accessors provide access to an object's properties by using the dot notation or the bracket notation.
>
> (c) MDN
🐊Putout plugin adds ability to remove useless array inside property accessors.
Checkout in 🐊Putout Editor.
```
npm i @putout/plugin-remove-useless-array
`json`
{
"rules": {
"remove-useless-array": "on"
}
}
`js`
A[[B]];
`js``
A[B];
MIT