Skip to content

es-x/no-private-in

disallow #x in obj

This rule reports ES2022 private in (#x in obj) as errors.

💡 Examples

⛔ Examples of incorrect code for this rule:

Now loading...

🚀 Version

This rule was introduced in v5.0.0.

📚 References