@putout/plugin-remove-useless-array-from
v2.1.1
Published
šPutout plugin adds ability to remove useless 'Array.from()'
Downloads
30,438
Maintainers
Readme
@putout/plugin-remove-useless-array-from 
šPutout plugin adds ability to remove useless Array.from(). Merged to @putout/plugin-for-of.
Install
npm i @putout/plugin-remove-useless-array-fromRule
{
"rules": {
"remove-useless-array-from": "on"
}
}ā Example of incorrect code
for (const x of Array.from(y)) {}ā Example of correct code
for (const x of y) {}License
MIT
