Skip to content

ZNTC0402: Function declaration is not allowed in statement position in strict mode

Function declaration is not allowed in statement position in strict mode

Category: Parser: Declaration/Class

See the error message for cause and resolution.