Y
Hacker News
new
|
ask
|
show
|
jobs
by
dspillett
3018 days ago
It is if the variable is accidentally in global scope due to hoisting if it is not explicitly defined in a finer scope. Not an issue in strict mode, you'll get a reference error instead of an implied global.