Comments (2)
Additionally, I believe treating intrinsics as a string that just gets injected as an expression is a bit fragile. I used to model these as paths where there was a back pointer to the previous intrinsic operation that yielded the new value. Such as member expressions, calls or the global object.
from prepack.
The following test case exposes the issue with the Prepack test runner (just adding the 'inspect' function):
(function() {
let old = Array.prototype.forEach;
Array.prototype.forEach = function() {};
Array.prototype.forEach = old;
inspect = function() { return Array.prototype.forEach.name; }
})();
from prepack.
Related Issues (20)
- Filter causes aliasing issues with optimized map
- Investigate ModifiedBindings issue on internal test case HOT 1
- Code size reduction opportunity: bring back .bind calls
- Bug in leaking logic in regards to bindings HOT 1
- Serialization invariant when dealing with a conditional binding
- Missing main app JS file after adding 'prepack-webpack-plugin' to project HOT 1
- Increased heap usage on large internal test case
- Make it easier to enable/disable built-ins based on compatibility
- Mangle names like terser HOT 1
- "total time has exceeded the timeout time: 1000" HOT 4
- External Event Handlers HOT 2
- document.getElementsByTagName('script')[0] throws error HOT 1
- Support for jquery HOT 1
- Is prepack development still active? HOT 3
- ES6 module HOT 2
- repl > (function(){}) HOT 1
- Is it possible to convert recursive method to iterative? HOT 2
- Is prepack dead? HOT 5
- Test Results and Code Coverage Unavailable
- Avoiding too many variables
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prepack.