es-x/no-initializers-in-for-in
disallow initializers in for-in heads
This rule reports initializers in for-in statement heads as errors.
See Annex B - Initializers in ForIn Statement Heads.
💡 Examples
⛔ Examples of incorrect code for this rule:
🚀 Version
This rule was introduced in v5.1.0.