Ee18e

e18e/@e18e/arraybuffer.prototype.slice

No description available

e18emodule-replacement
Public
8 executions

Run locally

npx codemod @e18e/arraybuffer.prototype.slice

arraybuffer.prototype.slice Codemod

Introduction

This codemod replaces the usage of the arraybuffer.prototype.slice method by transforming instances that call this method into direct calls to the native slice method available on ArrayBuffer instances. This helps to eliminate unnecessary dependencies while improving the performance of the codebase by leveraging built-in JavaScript features.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.