E

e18e/@e18e/array.prototype.entries

How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

Codemod: Replace array.prototype.entries with Built-in Method

Introduction

This codemod replaces the usage of the array.prototype.entries function with the built-in entries method directly on arrays. By utilizing native methods, we can reduce unnecessary dependencies, improve performance, and simplify the codebase.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.