check-var-value
Ast Rule: try block
check-var-value
let x = 3;
if (x > 2) {
console.log("x is greater than 2");
} else {
console.log("x is not greater than 2");
}
test-1.js
Expected test result: no error
Ast Rule: try block
check-var-value
let x = 3;
if (x > 2) {
console.log("x is greater than 2");
} else {
console.log("x is not greater than 2");
}
test-1.js
Expected test result: no error