SyntaxFix
Write A Post
Hire A Developer
Questions
This means that you must declare strict mode by writing "use strict" at the beginning of the file or the function to use block-scope declarations.
"use strict"
EX:
function test(){ "use strict"; let a = 1; }