ZNTC0402: Function declaration is not allowed in statement position in strict mode
ZNTC0402
Section titled “ZNTC0402”Function declaration is not allowed in statement position in strict mode
Category: Parser: Declaration/Class
How to fix
Section titled “How to fix”See the error message for cause and resolution.