Skip to main content

no-undef

Last updated: Jan 16, 2025

Disallow the use of undeclared variables.

Invalid:

const foo = someFunction();
const bar = a + 1;

Did you find what you needed?

Privacy policy