in ECMAScript by
What is the scope of the variable "a" in function below?

function val(x){

if(x>0){

let a = x;

console.log(a);

}

}

1 Answer

0 votes
by
Block
...