Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Prepack helps make JavaScript code more efficient. Parent comment
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.
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?