$ npm install @putout/plugin-remove-useless-array-entries
🐊Putout
plugin adds ability to remove useless array.entries()
.
npm i @putout/plugin-remove-useless-array-entries
{
"rules": {
"remove-useless-array-entries": "on"
}
}
for (const [, element] of array.entries()) {
}
for (const element of array) {
}
MIT
© 2010 - cnpmjs.org x YWFE | Home | YWFE