* Add test case for simple reference in tdz * Add more examples from old issues as test cases * Fix two testcases by excluding function declarations from being tdz checked * Document the option for block-scoping * Add test cases with destructuring assignments * Remove failing test cases * [skip ci] Include type and default value for options
6 lines
36 B
JavaScript
6 lines
36 B
JavaScript
function f() {
|
|
x;
|
|
}
|
|
let x;
|
|
f();
|