Warn when using default browser globals #664

jacobrask opened this Issue Oct 1, 2012 · 0 comments


None yet
1 participant

jacobrask commented Oct 1, 2012

Accidentally defining variables such as top can cause unexpected bugs. You could for instance check if top is falsy or not, but it will never be undefined since it is present on the window object. How about warning about var top?

@jacobrask jacobrask closed this Dec 17, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment