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
- Host: GitHub
- URL: https://github.com/chadhietala/babel-array-method-zero-cost-abstractions
- Owner: chadhietala
- Created: 2015-12-22T08:38:11.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-01T17:19:04.000Z (almost 9 years ago)
- Last Synced: 2025-02-10T08:23:01.107Z (4 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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.