Note that your pattern is acknowledged as safe by the guard-for-in rule. But I like your suggestion for recommending the safer version in the docs, so I've opened a PR here: https://github.com/eslint/eslint/pull/706.
On Mon, Mar 24, 2014 at 1:15 AM, Rene Kriest <[email protected]> wrote: > PS: Ups, overtook formating. :( > > -- > You received this message because you are subscribed to the Google Groups > "ESLint" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "ESLint" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
