jamesallardice / jslint-error-explanations

:memo: Explanations of all the (sometimes cryptic) error messages thrown by JSLint and JSHint
http://linterrors.com
293 stars 35 forks source link

Pass i variable to IIFE #26

Closed artoale closed 10 years ago

artoale commented 10 years ago

The document states 'This will work as we expect it to, with each element getting the correct value of i...' which is not true, since, inside the IIFE, i is undefined

jamesallardice commented 10 years ago

Oops. Good catch! Thanks.

artoale commented 10 years ago

Cheers! :-) On Feb 20, 2014 5:31 PM, "James Allardice" notifications@github.com wrote:

Merged #26https://github.com/jamesallardice/jslint-error-explanations/pull/26 .

Reply to this email directly or view it on GitHubhttps://github.com/jamesallardice/jslint-error-explanations/pull/26 .