An open API service indexing awesome lists of open source software.

https://github.com/chadhietala/babel-array-method-zero-cost-abstractions

Transforms ES5 array methods to ES3 loops
https://github.com/chadhietala/babel-array-method-zero-cost-abstractions

Last synced: 2 months ago
JSON representation

Transforms ES5 array methods to ES3 loops

Awesome Lists containing this project

README

        

Transforms for ES5 array methods.

## Why?

Unfortunately array methods are not a 0 cost abstraction and they do such things as allocate context objects when you close over items. This allows us to compile away those things into less costly code.