/*eslint max-statements: [2, 2]*/// Maximum of 2 statements.functionfoo(){varbar=1;returnfunction(){// The number of statements in the inner function does not count toward the// statement maximum.return42;};}