Ee18e

e18e/@e18e/array.prototype.foreach

No description available

e18emodule-replacement
Public
34 executions

Run locally

npx codemod @e18e/array.prototype.foreach

Array.prototype.foreach Codemod

Introduction

This codemod transforms usages of Array.prototype.foreach to the built-in Array.prototype.forEach method. This change optimizes the code by leveraging native JavaScript functionality, reducing dependencies, and improving performance while maintaining the same behavior.

Before

javascript

After

javascript

Ready to evolve your codebase?

Build tailored, compiler-aware skills to assess, plan, and automate complex codebase changes.