Skip to content

es-x/no-labelled-function-declarations

disallow labelled function declarations

This rule reports Annex B feature the labelled function declarations as errors.

💡 Examples

⛔ Examples of incorrect code for this rule:

Now loading...

🚀 Version

This rule was introduced in v5.1.0.

📚 References