message": "Cannot access 'data' before initialization", code example
Example: cannot access function before initialization js
function test(){
let foo = 33;
if (true) {
foo = (foo + 55);
}
}
test();
function test(){
let foo = 33;
if (true) {
foo = (foo + 55);
}
}
test();