News for hackers. Stuff that matters.
Re:Prepack helps make JavaScript code more efficient by CaveTech on Wednesday May 03, 2017 @01:57PM (#14258324)
It doesn't seem like this tool supports global level objects.

For instance, a common pattern being:

(function(w) { console.log(w.location); })(window)

This results in issues because it's unaware that window would contain other methods. Is it possible to exclude certain objects in this case?

There are no comments on this comment yet.