E

e18e/@e18e/array.prototype.values

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.values Usage

Introduction

This codemod transforms instances of Array.prototype.values in the codebase to use the built-in values method directly, thereby reducing dependency on unnecessary polyfills or alternatives. This change helps in optimizing the code by leveraging native JavaScript features, which can improve performance and reduce bundle size.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.